#6B4CE9#6B4CE9

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

Color values

HEX#6B4CE9
RGBrgb(107, 76, 233)
HSLhsl(252, 78%, 61%)
HSVhsv(252, 67%, 91%)
CMYKcmyk(54.1%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.49, 52.44, -75.11)
CIE-LCHlch(44.49, 91.61, 304.92°)
OKLaboklab(54.41% 0.059 -0.2159)
OKLCHoklch(54.41% 0.224 285.3)
XYZxyz(23.3514, 14.1766, 78.5809)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B4CE9 #CAE94C
analogous
#4C7BE9 #6B4CE9 #B94CE9
triadic
#6B4CE9 #E96B4C #4CE96B
tetradic
#6B4CE9 #E94C7B #CAE94C #4CE9B9
square
#6B4CE9 #E94C7B #CAE94C #4CE9B9
split-complementary
#6B4CE9 #E9B94C #7BE94C
monochromatic
#3114A6 #411BDD #6B4CE9 #9883F0 #C5B9F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B4CE9#FFFFFF#000000##FFFFFF
##6B4CE91.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)
#006EEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#337494
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6b4ce9;
/* rgb */ color: rgb(107, 76, 233);
/* oklch */ color: oklch(54.4% 0.224 285.3);
Tailwind
colors: {
  custom: {
    50: '#a180f1',
    500: '#6b4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #6b4ce9;
$custom-light: #a180f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6b4ce9",
  "rgb": {
    "r": 107,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 251.847,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54407,
    "c": 0.22383,
    "h": 285.3
  },
  "luminance": 0.14178
}

Semantic roles & 50–950 ramp

primary
#6B4CE9
secondary
#DAE6AB
accent
#DA0BB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6B4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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