#906CFE#906CFE

#906CFE is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.0% C 0.208 H 290.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#906CFE
RGBrgb(144, 108, 254)
HSLhsl(255, 99%, 71%)
HSVhsv(255, 57%, 100%)
CMYKcmyk(43.3%, 57.5%, 0%, 0.4%)
CIE-LABlab(55.90, 47.63, -68.16)
CIE-LCHlch(55.90, 83.15, 304.94°)
OKLaboklab(63.98% 0.0734 -0.1943)
OKLCHoklch(63.98% 0.208 290.7)
XYZxyz(34.7486, 23.8090, 96.5115)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CFE #DAFE6C
analogous
#6C91FE #906CFE #D96CFE
triadic
#906CFE #FE906C #6CFE90
tetradic
#906CFE #FE6C91 #DAFE6C #6CFED9
square
#906CFE #FE6C91 #DAFE6C #6CFED9
split-complementary
#906CFE #FED96C #91FE6C
monochromatic
#3C02EE #622FFE #906CFE #BEA9FE #E8E1FF

Accessibility & contrast

On white

3.64
#906CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#906CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CFE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CFE#FFFFFF#000000##000000
##906CFE1.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#1183FB
Tritanopia (blue-blind)
#708CAB
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #906cfe;
/* rgb */ color: rgb(144, 108, 254);
/* oklch */ color: oklch(64.0% 0.208 290.7);
Tailwind
colors: {
  custom: {
    50: '#b797ff',
    500: '#906cfe',
    950: '#000000',
  },
}
SCSS
$custom: #906cfe;
$custom-light: #b797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#906cfe",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 254.795,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.20774,
    "h": 290.7
  },
  "luminance": 0.2381
}

Semantic roles & 50–950 ramp

primary
#906CFE
secondary
#EDF6CF
accent
#E600AD
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #906CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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