#906BE7#906BE7

#906BE7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.3% C 0.181 H 294.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#906BE7
RGBrgb(144, 107, 231)
HSLhsl(258, 72%, 66%)
HSVhsv(258, 54%, 91%)
CMYKcmyk(37.7%, 53.7%, 0%, 9.4%)
CIE-LABlab(54.25, 42.02, -58.00)
CIE-LCHlch(54.25, 71.63, 305.92°)
OKLaboklab(62.31% 0.0743 -0.1645)
OKLCHoklch(62.31% 0.181 294.3)
XYZxyz(31.1793, 22.2135, 78.2307)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906BE7 #C2E76B
analogous
#6B84E7 #906BE7 #CE6BE7
triadic
#906BE7 #E7906B #6BE790
tetradic
#906BE7 #E76B84 #C2E76B #6BE7CE
square
#906BE7 #E76B84 #C2E76B #6BE7CE
split-complementary
#906BE7 #E7CE6B #84E76B
monochromatic
#4C1EBA #6936DE #906BE7 #B7A0F0 #DFD4F8

Accessibility & contrast

On white

3.86
#906BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#906BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906BE7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906BE7#FFFFFF#000000##000000
##906BE71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#3D80E4
Tritanopia (blue-blind)
#7A859F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #906be7;
/* rgb */ color: rgb(144, 107, 231);
/* oklch */ color: oklch(62.3% 0.181 294.3);
Tailwind
colors: {
  custom: {
    50: '#b596ef',
    500: '#906be7',
    950: '#000000',
  },
}
SCSS
$custom: #906be7;
$custom-light: #b596ef;
$custom-dark: #000000;
JSON
{
  "hex": "#906be7",
  "rgb": {
    "r": 144,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 257.903,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.62308,
    "c": 0.18052,
    "h": 294.3
  },
  "luminance": 0.22214
}

Semantic roles & 50–950 ramp

primary
#906BE7
secondary
#DFEBC3
accent
#D4119A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #906BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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