#906CD7#906CD7

#906CD7 is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.5% C 0.159 H 297.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#906CD7
RGBrgb(144, 108, 215)
HSLhsl(260, 57%, 63%)
HSVhsv(260, 50%, 84%)
CMYKcmyk(33%, 49.8%, 0%, 15.7%)
CIE-LABlab(53.56, 37.28, -50.10)
CIE-LCHlch(53.56, 62.45, 306.65°)
OKLaboklab(61.49% 0.0721 -0.1413)
OKLCHoklch(61.49% 0.159 297)
XYZxyz(29.1269, 21.5603, 66.9038)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CD7 #B3D76C
analogous
#6C7DD7 #906CD7 #C56CD7
triadic
#906CD7 #D7906C #6CD790
tetradic
#906CD7 #D76C7D #B3D76C #6CD7C5
square
#906CD7 #D76C7D #B3D76C #6CD7C5
split-complementary
#906CD7 #D7C56C #7DD76C
monochromatic
#522B9E #6C3CCA #906CD7 #B49CE4 #D9CCF1

Accessibility & contrast

On white

3.95
#906CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#906CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CD7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CD7#FFFFFF#000000##000000
##906CD71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4680DB
Deuteranopia (green-blind)
#4E7FD4
Tritanopia (blue-blind)
#808197
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #906cd7;
/* rgb */ color: rgb(144, 108, 215);
/* oklch */ color: oklch(61.5% 0.159 297.0);
Tailwind
colors: {
  custom: {
    50: '#b497e4',
    500: '#906cd7',
    950: '#000000',
  },
}
SCSS
$custom: #906cd7;
$custom-light: #b497e4;
$custom-dark: #000000;
JSON
{
  "hex": "#906cd7",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 260.187,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.15865,
    "h": 297
  },
  "luminance": 0.21561
}

Semantic roles & 50–950 ramp

primary
#906CD7
secondary
#D6E2BC
accent
#C5218E
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110D15
muted
#807E84

Preview Lab

Preview with #906CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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