#6F47CE#6F47CE

#6F47CE is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.197 H 291.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#6F47CE
RGBrgb(111, 71, 206)
HSLhsl(258, 58%, 54%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(46.1%, 65.5%, 0%, 19.2%)
CIE-LABlab(41.75, 48.19, -64.13)
CIE-LCHlch(41.75, 80.22, 306.92°)
OKLaboklab(51.87% 0.0728 -0.1835)
OKLCHoklch(51.87% 0.197 291.6)
XYZxyz(19.9462, 12.3415, 59.7118)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F47CE #A6CE47
analogous
#4763CE #6F47CE #B347CE
triadic
#6F47CE #CE6F47 #47CE6F
tetradic
#6F47CE #CE4763 #A6CE47 #47CEB3
square
#6F47CE #CE4763 #A6CE47 #47CEB3
split-complementary
#6F47CE #CEB347 #63CE47
monochromatic
#3B217A #522DAA #6F47CE #9577DB #BBA8E8

Accessibility & contrast

On white

6.05
#6F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F47CE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F47CE#FFFFFF#000000##FFFFFF
##6F47CE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#526884
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6f47ce;
/* rgb */ color: rgb(111, 71, 206);
/* oklch */ color: oklch(51.9% 0.197 291.6);
Tailwind
colors: {
  custom: {
    50: '#a07dde',
    500: '#6f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f47ce;
$custom-light: #a07dde;
$custom-dark: #000000;
JSON
{
  "hex": "#6f47ce",
  "rgb": {
    "r": 111,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 257.778,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.19745,
    "h": 291.6
  },
  "luminance": 0.12342
}

Semantic roles & 50–950 ramp

primary
#6F47CE
secondary
#C4D59C
accent
#E147B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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