#6B4EE9#6B4EE9

#6B4EE9 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.7% C 0.222 H 285.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#6B4EE9
RGBrgb(107, 78, 233)
HSLhsl(251, 78%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(54.1%, 66.5%, 0%, 8.6%)
CIE-LABlab(44.88, 51.36, -74.47)
CIE-LCHlch(44.88, 90.46, 304.60°)
OKLaboklab(54.69% 0.0572 -0.214)
OKLCHoklch(54.69% 0.222 285)
XYZxyz(23.4913, 14.4564, 78.6275)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EE9 #CCE94E
analogous
#4E7EE9 #6B4EE9 #B84EE9
triadic
#6B4EE9 #E96B4E #4EE96B
tetradic
#6B4EE9 #E94E7E #CCE94E #4EE9B8
square
#6B4EE9 #E94E7E #CCE94E #4EE9B8
split-complementary
#6B4EE9 #E9B84E #7EE94E
monochromatic
#3015A8 #401CDE #6B4EE9 #9984F0 #C6BBF7

Accessibility & contrast

On white

5.40
#6B4EE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#6B4EE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EE9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EE9#FFFFFF#000000##FFFFFF
##6B4EE91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEE
Deuteranopia (green-blind)
#0065E6
Tritanopia (blue-blind)
#337695
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6b4ee9;
/* rgb */ color: rgb(107, 78, 233);
/* oklch */ color: oklch(54.7% 0.222 285.0);
Tailwind
colors: {
  custom: {
    50: '#a082f1',
    500: '#6b4ee9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ee9;
$custom-light: #a082f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ee9",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 233
  },
  "hsl": {
    "h": 251.226,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54691,
    "c": 0.22156,
    "h": 285
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#6B4EE9
secondary
#DCE7AC
accent
#DA0BB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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