#6F4DC7#6F4DC7

#6F4DC7 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.181 H 291.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#6F4DC7
RGBrgb(111, 77, 199)
HSLhsl(257, 52%, 54%)
HSVhsv(257, 61%, 78%)
CMYKcmyk(44.2%, 61.3%, 0%, 22%)
CIE-LABlab(42.48, 42.92, -58.91)
CIE-LCHlch(42.48, 72.89, 306.08°)
OKLaboklab(52.24% 0.0671 -0.1682)
OKLCHoklch(52.24% 0.181 291.7)
XYZxyz(19.5154, 12.8102, 55.4661)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F4DC7 #A5C74D
analogous
#4D68C7 #6F4DC7 #AC4DC7
triadic
#6F4DC7 #C76F4D #4DC76F
tetradic
#6F4DC7 #C74D68 #A5C74D #4DC7AC
square
#6F4DC7 #C74D68 #A5C74D #4DC7AC
split-complementary
#6F4DC7 #C7AC4D #68C74D
monochromatic
#3B2575 #5333A3 #6F4DC7 #957CD6 #BAAAE4

Accessibility & contrast

On white

5.90
#6F4DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#6F4DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F4DC7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F4DC7#FFFFFF#000000##FFFFFF
##6F4DC71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#556983
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6f4dc7;
/* rgb */ color: rgb(111, 77, 199);
/* oklch */ color: oklch(52.2% 0.181 291.7);
Tailwind
colors: {
  custom: {
    50: '#9f80d9',
    500: '#6f4dc7',
    950: '#000000',
  },
}
SCSS
$custom: #6f4dc7;
$custom-light: #9f80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f4dc7",
  "rgb": {
    "r": 111,
    "g": 77,
    "b": 199
  },
  "hsl": {
    "h": 256.721,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52235,
    "c": 0.18107,
    "h": 291.7
  },
  "luminance": 0.12811
}

Semantic roles & 50–950 ramp

primary
#6F4DC7
secondary
#C3D29E
accent
#DC4CB4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #6F4DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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