#6B4EDD#6B4EDD

#6B4EDD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.7% C 0.207 H 286.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6B4EDD
RGBrgb(107, 78, 221)
HSLhsl(252, 68%, 59%)
HSVhsv(252, 65%, 87%)
CMYKcmyk(51.6%, 64.7%, 0%, 13.3%)
CIE-LABlab(43.94, 47.88, -69.20)
CIE-LCHlch(43.94, 84.15, 304.68°)
OKLaboklab(53.72% 0.0588 -0.1986)
OKLCHoklch(53.72% 0.207 286.5)
XYZxyz(21.8351, 13.7939, 69.9046)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EDD #C0DD4E
analogous
#4E78DD #6B4EDD #B24EDD
triadic
#6B4EDD #DD6B4E #4EDD6B
tetradic
#6B4EDD #DD4E78 #C0DD4E #4EDDB2
square
#6B4EDD #DD4E78 #C0DD4E #4EDDB2
split-complementary
#6B4EDD #DDB24E #78DD4E
monochromatic
#351C94 #4726C7 #6B4EDD #9681E7 #C1B5F1

Accessibility & contrast

On white

5.59
#6B4EDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6B4EDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EDD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EDD#FFFFFF#000000##FFFFFF
##6B4EDD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#0064DA
Tritanopia (blue-blind)
#3F718F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4edd;
/* rgb */ color: rgb(107, 78, 221);
/* oklch */ color: oklch(53.7% 0.207 286.5);
Tailwind
colors: {
  custom: {
    50: '#9f81e9',
    500: '#6b4edd',
    950: '#000000',
  },
}
SCSS
$custom: #6b4edd;
$custom-light: #9f81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4edd",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 221
  },
  "hsl": {
    "h": 252.168,
    "s": 67.773,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53716,
    "c": 0.20708,
    "h": 286.5
  },
  "luminance": 0.13795
}

Semantic roles & 50–950 ramp

primary
#6B4EDD
secondary
#D4E0A7
accent
#EB3DC7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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