#6A4CE5#6A4CE5

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

Color values

HEX#6A4CE5
RGBrgb(106, 76, 229)
HSLhsl(252, 75%, 60%)
HSVhsv(252, 67%, 90%)
CMYKcmyk(53.7%, 66.8%, 0%, 10.2%)
CIE-LABlab(44.07, 51.13, -73.53)
CIE-LCHlch(44.07, 89.56, 304.82°)
OKLaboklab(53.99% 0.0582 -0.2113)
OKLCHoklch(53.99% 0.219 285.4)
XYZxyz(22.6669, 13.8889, 75.6000)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CE5 #C7E54C
analogous
#4C7AE5 #6A4CE5 #B74CE5
triadic
#6A4CE5 #E56A4C #4CE56A
tetradic
#6A4CE5 #E54C7A #C7E54C #4CE5B7
square
#6A4CE5 #E54C7A #C7E54C #4CE5B7
split-complementary
#6A4CE5 #E5B74C #7AE54C
monochromatic
#32179F #431FD5 #6A4CE5 #9681ED #C3B7F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A4CE5#FFFFFF#000000##FFFFFF
##6A4CE51.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)
#006CEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#357392
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6a4ce5;
/* rgb */ color: rgb(106, 76, 229);
/* oklch */ color: oklch(54.0% 0.219 285.4);
Tailwind
colors: {
  custom: {
    50: '#9f80ee',
    500: '#6a4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ce5;
$custom-light: #9f80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ce5",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 251.765,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.21917,
    "h": 285.4
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#6A4CE5
secondary
#D8E4A9
accent
#F137CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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