#6B47CF#6B47CF

#6B47CF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.199 H 289.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6B47CF
RGBrgb(107, 71, 207)
HSLhsl(256, 59%, 55%)
HSVhsv(256, 66%, 81%)
CMYKcmyk(48.3%, 65.7%, 0%, 18.8%)
CIE-LABlab(41.43, 47.73, -65.25)
CIE-LCHlch(41.43, 80.84, 306.18°)
OKLaboklab(51.57% 0.0672 -0.187)
OKLCHoklch(51.57% 0.199 289.8)
XYZxyz(19.5759, 12.1365, 60.3305)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B47CF #ABCF47
analogous
#4767CF #6B47CF #AF47CF
triadic
#6B47CF #CF6B47 #47CF6B
tetradic
#6B47CF #CF4767 #ABCF47 #47CFAF
square
#6B47CF #CF4767 #ABCF47 #47CFAF
split-complementary
#6B47CF #CFAF47 #67CF47
monochromatic
#38207B #4E2DAC #6B47CF #9278DC #B9A8E8

Accessibility & contrast

On white

6.13
#6B47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6B47CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B47CF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B47CF#FFFFFF#000000##FFFFFF
##6B47CF1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005ECC
Tritanopia (blue-blind)
#4A6885
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6b47cf;
/* rgb */ color: rgb(107, 71, 207);
/* oklch */ color: oklch(51.6% 0.199 289.8);
Tailwind
colors: {
  custom: {
    50: '#9d7cdf',
    500: '#6b47cf',
    950: '#000000',
  },
}
SCSS
$custom: #6b47cf;
$custom-light: #9d7cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b47cf",
  "rgb": {
    "r": 107,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 255.882,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.19867,
    "h": 289.8
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#6B47CF
secondary
#C6D69C
accent
#E246B9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6B47CF

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

Preview Lab → · Contrast checker → · Palette generator →

#6B47CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva