#906CB2#906CB2

#906CB2 is a mid, moderate violet. Relative luminance 0.199; OKLCH L 59.5% C 0.111 H 307.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#906CB2
RGBrgb(144, 108, 178)
HSLhsl(271, 31%, 56%)
HSVhsv(271, 39%, 70%)
CMYKcmyk(19.1%, 39.3%, 0%, 30.2%)
CIE-LABlab(51.69, 28.16, -31.87)
CIE-LCHlch(51.69, 42.53, 311.47°)
OKLaboklab(59.48% 0.0665 -0.0883)
OKLCHoklch(59.48% 0.111 307)
XYZxyz(24.8985, 19.8690, 44.6343)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906CB2 #8EB26C
analogous
#6D6CB2 #906CB2 #B26CB1
triadic
#906CB2 #B2906C #6CB290
tetradic
#906CB2 #B26D6C #8EB26C #6CB1B2
square
#906CB2 #B26D6C #8EB26C #6CB1B2
split-complementary
#906CB2 #B1B26C #6CB26D
monochromatic
#53386B #714D94 #906CB2 #AE94C7 #CDBCDC

Accessibility & contrast

On white

4.22
#906CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#906CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906CB2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906CB2#FFFFFF#000000##000000
##906CB21.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7AB5
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#8B7786
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #906cb2;
/* rgb */ color: rgb(144, 108, 178);
/* oklch */ color: oklch(59.5% 0.111 307.0);
Tailwind
colors: {
  custom: {
    50: '#b296c9',
    500: '#906cb2',
    950: '#000000',
  },
}
SCSS
$custom: #906cb2;
$custom-light: #b296c9;
$custom-dark: #000000;
JSON
{
  "hex": "#906cb2",
  "rgb": {
    "r": 144,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 270.857,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59482,
    "c": 0.11058,
    "h": 307
  },
  "luminance": 0.19869
}

Semantic roles & 50–950 ramp

primary
#906CB2
secondary
#BCCBAE
accent
#C76092
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #906CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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