#906AFE#906AFE

#906AFE is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 63.7% C 0.210 H 291.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#906AFE
RGBrgb(144, 106, 254)
HSLhsl(255, 99%, 71%)
HSVhsv(255, 58%, 100%)
CMYKcmyk(43.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(55.47, 48.73, -68.84)
CIE-LCHlch(55.47, 84.34, 305.29°)
OKLaboklab(63.67% 0.0756 -0.1963)
OKLCHoklch(63.67% 0.21 291.1)
XYZxyz(34.5401, 23.3920, 96.4419)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906AFE #D8FE6A
analogous
#6A8EFE #906AFE #DA6AFE
triadic
#906AFE #FE906A #6AFE90
tetradic
#906AFE #FE6A8E #D8FE6A #6AFEDA
square
#906AFE #FE6A8E #D8FE6A #6AFEDA
split-complementary
#906AFE #FEDA6A #8EFE6A
monochromatic
#3E02EC #632DFE #906AFE #BDA7FE #E8E1FF

Accessibility & contrast

On white

3.70
#906AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#906AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906AFE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906AFE#FFFFFF#000000##000000
##906AFE1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0282FB
Tritanopia (blue-blind)
#708BAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #906afe;
/* rgb */ color: rgb(144, 106, 254);
/* oklch */ color: oklch(63.7% 0.210 291.1);
Tailwind
colors: {
  custom: {
    50: '#b796ff',
    500: '#906afe',
    950: '#000000',
  },
}
SCSS
$custom: #906afe;
$custom-light: #b796ff;
$custom-dark: #000000;
JSON
{
  "hex": "#906afe",
  "rgb": {
    "r": 144,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 255.405,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.63666,
    "c": 0.21039,
    "h": 291.1
  },
  "luminance": 0.23393
}

Semantic roles & 50–950 ramp

primary
#906AFE
secondary
#ECF6CE
accent
#E600AB
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #906AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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