#906CE6#906CE6

#906CE6 is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.4% C 0.178 H 294.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#906CE6
RGBrgb(144, 108, 230)
HSLhsl(258, 71%, 66%)
HSVhsv(258, 53%, 90%)
CMYKcmyk(37.4%, 53%, 0%, 9.8%)
CIE-LABlab(54.41, 41.19, -57.19)
CIE-LCHlch(54.41, 70.48, 305.77°)
OKLaboklab(62.41% 0.0731 -0.1621)
OKLCHoklch(62.41% 0.178 294.3)
XYZxyz(31.1434, 22.3669, 77.5240)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CE6 #C2E66C
analogous
#6C85E6 #906CE6 #CD6CE6
triadic
#906CE6 #E6906C #6CE690
tetradic
#906CE6 #E66C85 #C2E66C #6CE6CD
square
#906CE6 #E66C85 #C2E66C #6CE6CD
split-complementary
#906CE6 #E6CD6C #85E66C
monochromatic
#4C1FB8 #6938DD #906CE6 #B7A0EF #DFD5F8

Accessibility & contrast

On white

3.84
#906CE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#906CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CE6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CE6#FFFFFF#000000##000000
##906CE61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3783EA
Deuteranopia (green-blind)
#4080E3
Tritanopia (blue-blind)
#7B859F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #906ce6;
/* rgb */ color: rgb(144, 108, 230);
/* oklch */ color: oklch(62.4% 0.178 294.3);
Tailwind
colors: {
  custom: {
    50: '#b597ee',
    500: '#906ce6',
    950: '#000000',
  },
}
SCSS
$custom: #906ce6;
$custom-light: #b597ee;
$custom-dark: #000000;
JSON
{
  "hex": "#906ce6",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 230
  },
  "hsl": {
    "h": 257.705,
    "s": 70.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.1778,
    "h": 294.3
  },
  "luminance": 0.22368
}

Semantic roles & 50–950 ramp

primary
#906CE6
secondary
#DFEBC3
accent
#D3139A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #906CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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