#906CEE#906CEE

#906CEE is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.188 H 293.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#906CEE
RGBrgb(144, 108, 238)
HSLhsl(257, 79%, 68%)
HSVhsv(257, 55%, 93%)
CMYKcmyk(39.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(54.89, 43.32, -60.89)
CIE-LCHlch(54.89, 74.73, 305.43°)
OKLaboklab(62.92% 0.0734 -0.173)
OKLCHoklch(62.92% 0.188 293)
XYZxyz(32.2926, 22.8266, 83.5769)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CEE #CAEE6C
analogous
#6C89EE #906CEE #D16CEE
triadic
#906CEE #EE906C #6CEE90
tetradic
#906CEE #EE6C89 #CAEE6C #6CEED1
square
#906CEE #EE6C89 #CAEE6C #6CEED1
split-complementary
#906CEE #EED16C #89EE6C
monochromatic
#4817C8 #6735E8 #906CEE #B9A3F4 #E3DAFB

Accessibility & contrast

On white

3.77
#906CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#906CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CEE
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CEE#FFFFFF#000000##000000
##906CEE1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C85F2
Deuteranopia (green-blind)
#3681EB
Tritanopia (blue-blind)
#7787A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #906cee;
/* rgb */ color: rgb(144, 108, 238);
/* oklch */ color: oklch(62.9% 0.188 293.0);
Tailwind
colors: {
  custom: {
    50: '#b597f4',
    500: '#906cee',
    950: '#000000',
  },
}
SCSS
$custom: #906cee;
$custom-light: #b597f4;
$custom-dark: #000000;
JSON
{
  "hex": "#906cee",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 256.615,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62917,
    "c": 0.18789,
    "h": 293
  },
  "luminance": 0.22827
}

Semantic roles & 50–950 ramp

primary
#906CEE
secondary
#E4EFC7
accent
#DC0AA2
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #906CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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