#906FFB#906FFB

#906FFB is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.2% C 0.200 H 290.5°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#906FFB
RGBrgb(144, 111, 251)
HSLhsl(254, 95%, 71%)
HSVhsv(254, 56%, 98%)
CMYKcmyk(42.6%, 55.8%, 0%, 1.6%)
CIE-LABlab(56.35, 45.14, -65.77)
CIE-LCHlch(56.35, 79.77, 304.46°)
OKLaboklab(64.25% 0.0701 -0.1873)
OKLCHoklch(64.25% 0.2 290.5)
XYZxyz(34.5938, 24.2621, 94.1084)
Luminance0.2426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906FFB #DAFB6F
analogous
#6F94FB #906FFB #D66FFB
triadic
#906FFB #FB906F #6FFB90
tetradic
#906FFB #FB6F94 #DAFB6F #6FFBD6
square
#906FFB #FB6F94 #DAFB6F #6FFBD6
split-complementary
#906FFB #FBD66F #94FB6F
monochromatic
#3C06E9 #6233F9 #906FFB #BEABFD #E8E1FE

Accessibility & contrast

On white

3.59
#906FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#906FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906FFB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906FFB#FFFFFF#000000##000000
##906FFB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D8AFF
Deuteranopia (green-blind)
#2684F8
Tritanopia (blue-blind)
#718EAA
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #906ffb;
/* rgb */ color: rgb(144, 111, 251);
/* oklch */ color: oklch(64.2% 0.200 290.5);
Tailwind
colors: {
  custom: {
    50: '#b799fd',
    500: '#906ffb',
    950: '#000000',
  },
}
SCSS
$custom: #906ffb;
$custom-light: #b799fd;
$custom-dark: #000000;
JSON
{
  "hex": "#906ffb",
  "rgb": {
    "r": 144,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 254.143,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.64249,
    "c": 0.19998,
    "h": 290.5
  },
  "luminance": 0.24263
}

Semantic roles & 50–950 ramp

primary
#906FFB
secondary
#EDF6D0
accent
#E600AF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #906FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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