#6B4EE5#6B4EE5

#6B4EE5 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.4% C 0.217 H 285.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6B4EE5
RGBrgb(107, 78, 229)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 66%, 90%)
CMYKcmyk(53.3%, 65.9%, 0%, 10.2%)
CIE-LABlab(44.56, 50.20, -72.72)
CIE-LCHlch(44.56, 88.37, 304.62°)
OKLaboklab(54.36% 0.0578 -0.2089)
OKLCHoklch(54.36% 0.217 285.5)
XYZxyz(22.9264, 14.2305, 75.6522)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EE5 #C8E54E
analogous
#4E7DE5 #6B4EE5 #B64EE5
triadic
#6B4EE5 #E56B4E #4EE56B
tetradic
#6B4EE5 #E54E7D #C8E54E #4EE5B6
square
#6B4EE5 #E54E7D #C8E54E #4EE5B6
split-complementary
#6B4EE5 #E5B64E #7DE54E
monochromatic
#3218A1 #431FD6 #6B4EE5 #9883ED #C4B9F5

Accessibility & contrast

On white

5.46
#6B4EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6B4EE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EE5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EE5#FFFFFF#000000##FFFFFF
##6B4EE51.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#377493
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4ee5;
/* rgb */ color: rgb(107, 78, 229);
/* oklch */ color: oklch(54.4% 0.217 285.5);
Tailwind
colors: {
  custom: {
    50: '#a081ee',
    500: '#6b4ee5',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ee5;
$custom-light: #a081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ee5",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 229
  },
  "hsl": {
    "h": 251.523,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.21676,
    "h": 285.5
  },
  "luminance": 0.14232
}

Semantic roles & 50–950 ramp

primary
#6B4EE5
secondary
#D9E4AA
accent
#D70FB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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