#6747CE#6747CE

#6747CE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.198 H 288.2°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#6747CE
RGBrgb(103, 71, 206)
HSLhsl(254, 58%, 54%)
HSVhsv(254, 66%, 81%)
CMYKcmyk(50%, 65.5%, 0%, 19.2%)
CIE-LABlab(40.97, 46.71, -65.44)
CIE-LCHlch(40.97, 80.40, 305.52°)
OKLaboklab(51.12% 0.0619 -0.1876)
OKLCHoklch(51.12% 0.198 288.2)
XYZxyz(18.9841, 11.8454, 59.6667)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6747CE #AECE47
analogous
#476BCE #6747CE #AB47CE
triadic
#6747CE #CE6747 #47CE67
tetradic
#6747CE #CE476B #AECE47 #47CEAB
square
#6747CE #CE476B #AECE47 #47CEAB
split-complementary
#6747CE #CEAB47 #6BCE47
monochromatic
#36217A #4B2DAA #6747CE #8F77DB #B7A8E8

Accessibility & contrast

On white

6.23
#6747CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#6747CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6747CE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6747CE#FFFFFF#000000##FFFFFF
##6747CE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#426884
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #6747ce;
/* rgb */ color: rgb(103, 71, 206);
/* oklch */ color: oklch(51.1% 0.198 288.2);
Tailwind
colors: {
  custom: {
    50: '#9b7cde',
    500: '#6747ce',
    950: '#000000',
  },
}
SCSS
$custom: #6747ce;
$custom-light: #9b7cde;
$custom-dark: #000000;
JSON
{
  "hex": "#6747ce",
  "rgb": {
    "r": 103,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 254.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51121,
    "c": 0.19758,
    "h": 288.2
  },
  "luminance": 0.11846
}

Semantic roles & 50–950 ramp

primary
#6747CE
secondary
#C7D59C
accent
#E147BD
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6747CE

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6747CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva