#6B4CE4#6B4CE4

#6B4CE4 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.0% C 0.218 H 285.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6B4CE4
RGBrgb(107, 76, 228)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 67%, 89%)
CMYKcmyk(53.1%, 66.7%, 0%, 10.6%)
CIE-LABlab(44.08, 51.00, -72.94)
CIE-LCHlch(44.08, 89.00, 304.96°)
OKLaboklab(53.99% 0.0597 -0.2096)
OKLCHoklch(53.99% 0.218 285.9)
XYZxyz(22.6472, 13.8949, 74.8724)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CE4 #C5E44C
analogous
#4C79E4 #6B4CE4 #B74CE4
triadic
#6B4CE4 #E46B4C #4CE46B
tetradic
#6B4CE4 #E44C79 #C5E44C #4CE4B7
square
#6B4CE4 #E44C79 #C5E44C #4CE4B7
split-complementary
#6B4CE4 #E4B74C #79E44C
monochromatic
#33189E #4420D3 #6B4CE4 #9781EC #C3B6F4

Accessibility & contrast

On white

5.56
#6B4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6B4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B4CE4
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B4CE4#FFFFFF#000000##FFFFFF
##6B4CE41.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0064E1
Tritanopia (blue-blind)
#397392
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6b4ce4;
/* rgb */ color: rgb(107, 76, 228);
/* oklch */ color: oklch(54.0% 0.218 285.9);
Tailwind
colors: {
  custom: {
    50: '#a080ee',
    500: '#6b4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ce4;
$custom-light: #a080ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ce4",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 252.237,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53993,
    "c": 0.2179,
    "h": 285.9
  },
  "luminance": 0.13896
}

Semantic roles & 50–950 ramp

primary
#6B4CE4
secondary
#D7E3A8
accent
#F037CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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