#6A4CE9#6A4CE9

#6A4CE9 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.3% C 0.224 H 284.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6A4CE9
RGBrgb(106, 76, 233)
HSLhsl(251, 78%, 61%)
HSVhsv(251, 67%, 91%)
CMYKcmyk(54.5%, 67.4%, 0%, 8.6%)
CIE-LABlab(44.40, 52.29, -75.26)
CIE-LCHlch(44.40, 91.64, 304.79°)
OKLaboklab(54.32% 0.0576 -0.2164)
OKLCHoklch(54.32% 0.224 284.9)
XYZxyz(23.2318, 14.1149, 78.5753)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CE9 #CBE94C
analogous
#4C7CE9 #6A4CE9 #B84CE9
triadic
#6A4CE9 #E96A4C #4CE96A
tetradic
#6A4CE9 #E94C7C #CBE94C #4CE9B8
square
#6A4CE9 #E94C7C #CBE94C #4CE9B8
split-complementary
#6A4CE9 #E9B84C #7CE94C
monochromatic
#3014A6 #401BDD #6A4CE9 #9783F0 #C5B9F6

Accessibility & contrast

On white

5.49
#6A4CE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6A4CE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CE9
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CE9#FFFFFF#000000##FFFFFF
##6A4CE91.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEE
Deuteranopia (green-blind)
#0064E6
Tritanopia (blue-blind)
#307494
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6a4ce9;
/* rgb */ color: rgb(106, 76, 233);
/* oklch */ color: oklch(54.3% 0.224 284.9);
Tailwind
colors: {
  custom: {
    50: '#a080f1',
    500: '#6a4ce9',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ce9;
$custom-light: #a080f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ce9",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 251.465,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.22394,
    "h": 284.9
  },
  "luminance": 0.14116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A4CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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