#906CE4#906CE4

#906CE4 is a light, vivid violet. Relative luminance 0.223; OKLCH L 62.3% C 0.175 H 294.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#906CE4
RGBrgb(144, 108, 228)
HSLhsl(258, 69%, 66%)
HSVhsv(258, 53%, 89%)
CMYKcmyk(36.8%, 52.6%, 0%, 10.6%)
CIE-LABlab(54.30, 40.67, -56.25)
CIE-LCHlch(54.30, 69.41, 305.87°)
OKLaboklab(62.28% 0.073 -0.1593)
OKLCHoklch(62.28% 0.175 294.6)
XYZxyz(30.8641, 22.2552, 76.0533)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CE4 #C0E46C
analogous
#6C84E4 #906CE4 #CC6CE4
triadic
#906CE4 #E4906C #6CE490
tetradic
#906CE4 #E46C84 #C0E46C #6CE4CC
square
#906CE4 #E46C84 #C0E46C #6CE4CC
split-complementary
#906CE4 #E4CC6C #84E46C
monochromatic
#4D21B4 #6938DB #906CE4 #B7A0ED #DED3F7

Accessibility & contrast

On white

3.85
#906CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#906CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CE4
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CE4#FFFFFF#000000##000000
##906CE41.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3983E8
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#7C849E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #906ce4;
/* rgb */ color: rgb(144, 108, 228);
/* oklch */ color: oklch(62.3% 0.175 294.6);
Tailwind
colors: {
  custom: {
    50: '#b597ed',
    500: '#906ce4',
    950: '#000000',
  },
}
SCSS
$custom: #906ce4;
$custom-light: #b597ed;
$custom-dark: #000000;
JSON
{
  "hex": "#906ce4",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 228
  },
  "hsl": {
    "h": 258,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.62283,
    "c": 0.17527,
    "h": 294.6
  },
  "luminance": 0.22256
}

Semantic roles & 50–950 ramp

primary
#906CE4
secondary
#DEEAC2
accent
#D11598
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #906CE4

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

Preview Lab → · Contrast checker → · Palette generator →

#906CE4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva