#6B4EE4#6B4EE4

#6B4EE4 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.3% C 0.216 H 285.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6B4EE4
RGBrgb(107, 78, 228)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 66%, 89%)
CMYKcmyk(53.1%, 65.8%, 0%, 10.6%)
CIE-LABlab(44.48, 49.91, -72.29)
CIE-LCHlch(44.48, 87.84, 304.62°)
OKLaboklab(54.28% 0.0579 -0.2076)
OKLCHoklch(54.28% 0.216 285.6)
XYZxyz(22.7872, 14.1748, 74.9190)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4EE4 #C7E44E
analogous
#4E7CE4 #6B4EE4 #B64EE4
triadic
#6B4EE4 #E46B4E #4EE46B
tetradic
#6B4EE4 #E44E7C #C7E44E #4EE4B6
square
#6B4EE4 #E44E7C #C7E44E #4EE4B6
split-complementary
#6B4EE4 #E4B64E #7CE44E
monochromatic
#32189F #4320D4 #6B4EE4 #9783EC #C4B8F4

Accessibility & contrast

On white

5.48
#6B4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6B4EE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4EE4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4EE4#FFFFFF#000000##FFFFFF
##6B4EE41.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE9
Deuteranopia (green-blind)
#0065E1
Tritanopia (blue-blind)
#387492
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4ee4;
/* rgb */ color: rgb(107, 78, 228);
/* oklch */ color: oklch(54.3% 0.216 285.6);
Tailwind
colors: {
  custom: {
    50: '#a081ee',
    500: '#6b4ee4',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ee4;
$custom-light: #a081ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ee4",
  "rgb": {
    "r": 107,
    "g": 78,
    "b": 228
  },
  "hsl": {
    "h": 251.6,
    "s": 73.529,
    "l": 60
  },
  "oklch": {
    "l": 0.54281,
    "c": 0.21556,
    "h": 285.6
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

primary
#6B4EE4
secondary
#D9E4AA
accent
#F038CD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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