#906CCE#906CCE

#906CCE is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.0% C 0.147 H 298.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#906CCE
RGBrgb(144, 108, 206)
HSLhsl(262, 50%, 62%)
HSVhsv(262, 48%, 81%)
CMYKcmyk(30.1%, 47.6%, 0%, 19.2%)
CIE-LABlab(53.07, 34.98, -45.77)
CIE-LCHlch(53.07, 57.61, 307.39°)
OKLaboklab(60.97% 0.0711 -0.1287)
OKLCHoklch(60.97% 0.147 298.9)
XYZxyz(28.0021, 21.1104, 60.9800)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CCE #AACE6C
analogous
#6C79CE #906CCE #C16CCE
triadic
#906CCE #CE906C #6CCE90
tetradic
#906CCE #CE6C79 #AACE6C #6CCEC1
square
#906CCE #CE6C79 #AACE6C #6CCEC1
split-complementary
#906CCE #CEC16C #79CE6C
monochromatic
#533090 #6E3FBE #906CCE #B39ADD #D5C8ED

Accessibility & contrast

On white

4.02
#906CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#906CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CCE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CCE#FFFFFF#000000##000000
##906CCE1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7FD1
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#837E93
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #906cce;
/* rgb */ color: rgb(144, 108, 206);
/* oklch */ color: oklch(61.0% 0.147 298.9);
Tailwind
colors: {
  custom: {
    50: '#b397dd',
    500: '#906cce',
    950: '#000000',
  },
}
SCSS
$custom: #906cce;
$custom-light: #b397dd;
$custom-dark: #000000;
JSON
{
  "hex": "#906cce",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 262.041,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.60972,
    "c": 0.14702,
    "h": 298.9
  },
  "luminance": 0.21111
}

Semantic roles & 50–950 ramp

primary
#906CCE
secondary
#D0DDB9
accent
#BD2887
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83

Preview Lab

Preview with #906CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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