#6F4EC6#6F4EC6

#6F4EC6 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.178 H 291.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6F4EC6
RGBrgb(111, 78, 198)
HSLhsl(257, 51%, 54%)
HSVhsv(257, 61%, 78%)
CMYKcmyk(43.9%, 60.6%, 0%, 22.4%)
CIE-LABlab(42.62, 42.07, -58.10)
CIE-LCHlch(42.62, 71.73, 305.91°)
OKLaboklab(52.32% 0.066 -0.1658)
OKLCHoklch(52.32% 0.178 291.7)
XYZxyz(19.4702, 12.9049, 54.8802)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4EC6 #A5C64E
analogous
#4E69C6 #6F4EC6 #AB4EC6
triadic
#6F4EC6 #C66F4E #4EC66F
tetradic
#6F4EC6 #C64E69 #A5C64E #4EC6AB
square
#6F4EC6 #C64E69 #A5C64E #4EC6AB
split-complementary
#6F4EC6 #C6AB4E #69C64E
monochromatic
#3B2574 #5334A2 #6F4EC6 #957CD5 #BAABE4

Accessibility & contrast

On white

5.86
#6F4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6F4EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4EC6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4EC6#FFFFFF#000000##FFFFFF
##6F4EC61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#566982
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6f4ec6;
/* rgb */ color: rgb(111, 78, 198);
/* oklch */ color: oklch(52.3% 0.178 291.7);
Tailwind
colors: {
  custom: {
    50: '#9e81d8',
    500: '#6f4ec6',
    950: '#000000',
  },
}
SCSS
$custom: #6f4ec6;
$custom-light: #9e81d8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4ec6",
  "rgb": {
    "r": 111,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 256.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.17845,
    "h": 291.7
  },
  "luminance": 0.12906
}

Semantic roles & 50–950 ramp

primary
#6F4EC6
secondary
#C3D19E
accent
#DB4DB4
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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