#6A4CE4#6A4CE4

#6A4CE4 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.9% C 0.218 H 285.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#6A4CE4
RGBrgb(106, 76, 228)
HSLhsl(252, 74%, 60%)
HSVhsv(252, 67%, 89%)
CMYKcmyk(53.5%, 66.7%, 0%, 10.6%)
CIE-LABlab(43.99, 50.84, -73.09)
CIE-LCHlch(43.99, 89.03, 304.82°)
OKLaboklab(53.91% 0.0584 -0.21)
OKLCHoklch(53.91% 0.218 285.5)
XYZxyz(22.5277, 13.8333, 74.8668)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4CE4 #C6E44C
analogous
#4C7AE4 #6A4CE4 #B64CE4
triadic
#6A4CE4 #E46A4C #4CE46A
tetradic
#6A4CE4 #E44C7A #C6E44C #4CE4B6
square
#6A4CE4 #E44C7A #C6E44C #4CE4B6
split-complementary
#6A4CE4 #E4B64C #7AE44C
monochromatic
#32189E #4320D3 #6A4CE4 #9681EC #C3B6F4

Accessibility & contrast

On white

5.58
#6A4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6A4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A4CE4
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4CE4#FFFFFF#000000##FFFFFF
##6A4CE41.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a4ce4;
/* rgb */ color: rgb(106, 76, 228);
/* oklch */ color: oklch(53.9% 0.218 285.5);
Tailwind
colors: {
  custom: {
    50: '#9f80ee',
    500: '#6a4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #6a4ce4;
$custom-light: #9f80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4ce4",
  "rgb": {
    "r": 106,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 251.842,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53907,
    "c": 0.21799,
    "h": 285.5
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#6A4CE4
secondary
#D8E3A8
accent
#F037CC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6A4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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