#906BEF#906BEF

#906BEF is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.8% C 0.191 H 293.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#906BEF
RGBrgb(144, 107, 239)
HSLhsl(257, 80%, 68%)
HSVhsv(257, 55%, 94%)
CMYKcmyk(39.7%, 55.2%, 0%, 6.3%)
CIE-LABlab(54.74, 44.15, -61.70)
CIE-LCHlch(54.74, 75.87, 305.58°)
OKLaboklab(62.82% 0.0746 -0.1754)
OKLCHoklch(62.82% 0.191 293)
XYZxyz(32.3351, 22.6758, 84.3178)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906BEF #CAEF6B
analogous
#6B88EF #906BEF #D26BEF
triadic
#906BEF #EF906B #6BEF90
tetradic
#906BEF #EF6B88 #CAEF6B #6BEFD2
square
#906BEF #EF6B88 #CAEF6B #6BEFD2
split-complementary
#906BEF #EFD26B #88EF6B
monochromatic
#4816CA #6734E9 #906BEF #B9A2F5 #E3D9FB

Accessibility & contrast

On white

3.79
#906BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#906BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906BEF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906BEF#FFFFFF#000000##000000
##906BEF1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F3
Deuteranopia (green-blind)
#3281EC
Tritanopia (blue-blind)
#7787A3
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #906bef;
/* rgb */ color: rgb(144, 107, 239);
/* oklch */ color: oklch(62.8% 0.191 293.0);
Tailwind
colors: {
  custom: {
    50: '#b696f5',
    500: '#906bef',
    950: '#000000',
  },
}
SCSS
$custom: #906bef;
$custom-light: #b696f5;
$custom-dark: #000000;
JSON
{
  "hex": "#906bef",
  "rgb": {
    "r": 144,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 256.818,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.62821,
    "c": 0.19055,
    "h": 293
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#906BEF
secondary
#E4EFC7
accent
#DD09A1
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #906BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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