#6B4EE6#6B4EE6

#6B4EE6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.218 H 285.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#6B4EE6
RGBrgb(107, 78, 230)
HSLhsl(251, 75%, 60%)
HSVhsv(251, 66%, 90%)
CMYKcmyk(53.5%, 66.1%, 0%, 9.8%)
CIE-LABlab(44.64, 50.49, -73.16)
CIE-LCHlch(44.64, 88.89, 304.61°)
OKLaboklab(54.44% 0.0576 -0.2102)
OKLCHoklch(54.44% 0.218 285.3)
XYZxyz(23.0664, 14.2865, 76.3897)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EE6 #C9E64E
analogous
#4E7DE6 #6B4EE6 #B74EE6
triadic
#6B4EE6 #E66B4E #4EE66B
tetradic
#6B4EE6 #E64E7D #C9E64E #4EE6B7
square
#6B4EE6 #E64E7D #C9E64E #4EE6B7
split-complementary
#6B4EE6 #E6B74E #7DE64E
monochromatic
#3217A3 #421FD8 #6B4EE6 #9884EE #C5B9F5

Accessibility & contrast

On white

5.44
#6B4EE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#6B4EE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EE6
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EE6#FFFFFF#000000##FFFFFF
##6B4EE61.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#367493
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b4ee6;
/* rgb */ color: rgb(107, 78, 230);
/* oklch */ color: oklch(54.4% 0.218 285.3);
Tailwind
colors: {
  custom: {
    50: '#a081ef',
    500: '#6b4ee6',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ee6;
$custom-light: #a081ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ee6",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 230
  },
  "hsl": {
    "h": 251.447,
    "s": 75.248,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.21797,
    "h": 285.3
  },
  "luminance": 0.14288
}

Semantic roles & 50–950 ramp

primary
#6B4EE6
secondary
#DAE5AB
accent
#D70EB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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