#906BE2#906BE2

#906BE2 is a mid, vivid violet. Relative luminance 0.219; OKLCH L 62.0% C 0.174 H 295.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#906BE2
RGBrgb(144, 107, 226)
HSLhsl(259, 67%, 65%)
HSVhsv(259, 53%, 89%)
CMYKcmyk(36.3%, 52.7%, 0%, 11.4%)
CIE-LABlab(53.96, 40.71, -55.67)
CIE-LCHlch(53.96, 68.97, 306.18°)
OKLaboklab(61.99% 0.0741 -0.1577)
OKLCHoklch(61.99% 0.174 295.2)
XYZxyz(30.4832, 21.9351, 74.5646)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906BE2 #BDE26B
analogous
#6B82E2 #906BE2 #CB6BE2
triadic
#906BE2 #E2906B #6BE290
tetradic
#906BE2 #E26B82 #BDE26B #6BE2CB
square
#906BE2 #E26B82 #BDE26B #6BE2CB
split-complementary
#906BE2 #E2CB6B #82E26B
monochromatic
#4F23B0 #6A38D8 #906BE2 #B69EEC #DDD1F6

Accessibility & contrast

On white

3.90
#906BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#906BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906BE2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906BE2#FFFFFF#000000##000000
##906BE21.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3982E6
Deuteranopia (green-blind)
#437FDF
Tritanopia (blue-blind)
#7C839C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #906be2;
/* rgb */ color: rgb(144, 107, 226);
/* oklch */ color: oklch(62.0% 0.174 295.2);
Tailwind
colors: {
  custom: {
    50: '#b596ec',
    500: '#906be2',
    950: '#000000',
  },
}
SCSS
$custom: #906be2;
$custom-light: #b596ec;
$custom-dark: #000000;
JSON
{
  "hex": "#906be2",
  "rgb": {
    "r": 144,
    "g": 107,
    "b": 226
  },
  "hsl": {
    "h": 258.655,
    "s": 67.232,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.1742,
    "h": 295.2
  },
  "luminance": 0.21936
}

Semantic roles & 50–950 ramp

primary
#906BE2
secondary
#DCE8C0
accent
#CF1696
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #906BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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