#906FEB#906FEB

#906FEB is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.2% C 0.180 H 292.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#906FEB
RGBrgb(144, 111, 235)
HSLhsl(256, 76%, 68%)
HSVhsv(256, 53%, 92%)
CMYKcmyk(38.7%, 52.8%, 0%, 7.8%)
CIE-LABlab(55.38, 40.82, -58.44)
CIE-LCHlch(55.38, 71.29, 304.94°)
OKLaboklab(63.22% 0.0697 -0.1658)
OKLCHoklch(63.22% 0.18 292.8)
XYZxyz(32.1774, 23.2955, 81.3823)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906FEB #CAEB6F
analogous
#6F8CEB #906FEB #CE6FEB
triadic
#906FEB #EB906F #6FEB90
tetradic
#906FEB #EB6F8C #CAEB6F #6FEBCE
square
#906FEB #EB6F8C #CAEB6F #6FEBCE
split-complementary
#906FEB #EBCE6F #8CEB6F
monochromatic
#481BC4 #6739E4 #906FEB #B9A5F2 #E3DAFA

Accessibility & contrast

On white

3.71
#906FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#906FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906FEB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906FEB#FFFFFF#000000##000000
##906FEB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EF
Deuteranopia (green-blind)
#3F82E8
Tritanopia (blue-blind)
#7889A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #906feb;
/* rgb */ color: rgb(144, 111, 235);
/* oklch */ color: oklch(63.2% 0.180 292.8);
Tailwind
colors: {
  custom: {
    50: '#b599f2',
    500: '#906feb',
    950: '#000000',
  },
}
SCSS
$custom: #906feb;
$custom-light: #b599f2;
$custom-dark: #000000;
JSON
{
  "hex": "#906feb",
  "rgb": {
    "r": 144,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 255.968,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63216,
    "c": 0.17982,
    "h": 292.8
  },
  "luminance": 0.23296
}

Semantic roles & 50–950 ramp

primary
#906FEB
secondary
#E4EEC8
accent
#D80EA2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #906FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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