#6B4CD9#6B4CD9

#6B4CD9 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.205 H 287.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6B4CD9
RGBrgb(107, 76, 217)
HSLhsl(253, 65%, 57%)
HSVhsv(253, 65%, 85%)
CMYKcmyk(50.7%, 65%, 0%, 14.9%)
CIE-LABlab(43.22, 47.83, -68.09)
CIE-LCHlch(43.22, 83.21, 305.09°)
OKLaboklab(53.1% 0.0611 -0.1953)
OKLCHoklch(53.1% 0.205 287.4)
XYZxyz(21.1686, 13.3034, 67.0846)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CD9 #BAD94C
analogous
#4C74D9 #6B4CD9 #B14CD9
triadic
#6B4CD9 #D96B4C #4CD96B
tetradic
#6B4CD9 #D94C74 #BAD94C #4CD9B1
square
#6B4CD9 #D94C74 #BAD94C #4CD9B1
split-complementary
#6B4CD9 #D9B14C #74D94C
monochromatic
#361E8D #4A29BF #6B4CD9 #957EE4 #BEB1EE

Accessibility & contrast

On white

5.74
#6B4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6B4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CD9
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CD9#FFFFFF#000000##FFFFFF
##6B4CD91.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#426F8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6b4cd9;
/* rgb */ color: rgb(107, 76, 217);
/* oklch */ color: oklch(53.1% 0.205 287.4);
Tailwind
colors: {
  custom: {
    50: '#9e80e6',
    500: '#6b4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4cd9;
$custom-light: #9e80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4cd9",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 253.191,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.531,
    "c": 0.20464,
    "h": 287.4
  },
  "luminance": 0.13304
}

Semantic roles & 50–950 ramp

primary
#6B4CD9
secondary
#D0DDA4
accent
#E840C3
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6B4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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