#6F51CE#6F51CE

#6F51CE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.4% C 0.184 H 289.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6F51CE
RGBrgb(111, 81, 206)
HSLhsl(254, 56%, 56%)
HSVhsv(254, 61%, 81%)
CMYKcmyk(46.1%, 60.7%, 0%, 19.2%)
CIE-LABlab(43.83, 42.63, -60.76)
CIE-LCHlch(43.83, 74.23, 305.05°)
OKLaboklab(53.38% 0.0623 -0.1736)
OKLCHoklch(53.38% 0.184 289.7)
XYZxyz(20.6354, 13.7198, 59.9415)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F51CE #B0CE51
analogous
#5172CE #6F51CE #AE51CE
triadic
#6F51CE #CE6F51 #51CE6F
tetradic
#6F51CE #CE5172 #B0CE51 #51CEAE
square
#6F51CE #CE5172 #B0CE51 #51CEAE
split-complementary
#6F51CE #CEAE51 #72CE51
monochromatic
#3A2480 #5032B0 #6F51CE #9781DB #BEB1E9

Accessibility & contrast

On white

5.61
#6F51CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6F51CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F51CE
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F51CE#FFFFFF#000000##FFFFFF
##6F51CE1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#516E88
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6f51ce;
/* rgb */ color: rgb(111, 81, 206);
/* oklch */ color: oklch(53.4% 0.184 289.7);
Tailwind
colors: {
  custom: {
    50: '#9f83de',
    500: '#6f51ce',
    950: '#000000',
  },
}
SCSS
$custom: #6f51ce;
$custom-light: #9f83de;
$custom-dark: #000000;
JSON
{
  "hex": "#6f51ce",
  "rgb": {
    "r": 111,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 254.4,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53378,
    "c": 0.18446,
    "h": 289.7
  },
  "luminance": 0.13721
}

Semantic roles & 50–950 ramp

primary
#6F51CE
secondary
#CBD7A4
accent
#DF48BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #6F51CE

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

Preview Lab → · Contrast checker → · Palette generator →

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