#906DFC#906DFC

#906DFC is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.0% C 0.204 H 290.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#906DFC
RGBrgb(144, 109, 252)
HSLhsl(255, 96%, 71%)
HSVhsv(255, 57%, 99%)
CMYKcmyk(42.9%, 56.7%, 0%, 1.2%)
CIE-LABlab(55.98, 46.53, -66.92)
CIE-LCHlch(55.98, 81.50, 304.81°)
OKLaboklab(64% 0.0723 -0.1907)
OKLCHoklch(64% 0.204 290.8)
XYZxyz(34.5360, 23.8937, 94.8689)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906DFC #D9FC6D
analogous
#6D91FC #906DFC #D76DFC
triadic
#906DFC #FC906D #6DFC90
tetradic
#906DFC #FC6D91 #D9FC6D #6DFCD7
square
#906DFC #FC6D91 #D9FC6D #6DFCD7
split-complementary
#906DFC #FCD76D #91FC6D
monochromatic
#3D05EA #6231FB #906DFC #BEA9FD #E8E1FE

Accessibility & contrast

On white

3.63
#906DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#906DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906DFC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906DFC#FFFFFF#000000##000000
##906DFC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D89FF
Deuteranopia (green-blind)
#1D83F9
Tritanopia (blue-blind)
#718CAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #906dfc;
/* rgb */ color: rgb(144, 109, 252);
/* oklch */ color: oklch(64.0% 0.204 290.8);
Tailwind
colors: {
  custom: {
    50: '#b798fe',
    500: '#906dfc',
    950: '#000000',
  },
}
SCSS
$custom: #906dfc;
$custom-light: #b798fe;
$custom-dark: #000000;
JSON
{
  "hex": "#906dfc",
  "rgb": {
    "r": 144,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 254.685,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.63998,
    "c": 0.20394,
    "h": 290.8
  },
  "luminance": 0.23895
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #906DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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