#906BB2#906BB2

#906BB2 is a mid, moderate violet. Relative luminance 0.197; OKLCH L 59.3% C 0.112 H 307.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#906BB2
RGBrgb(144, 107, 178)
HSLhsl(271, 32%, 56%)
HSVhsv(271, 40%, 70%)
CMYKcmyk(19.1%, 39.9%, 0%, 30.2%)
CIE-LABlab(51.45, 28.74, -32.24)
CIE-LCHlch(51.45, 43.19, 311.72°)
OKLaboklab(59.3% 0.068 -0.0894)
OKLCHoklch(59.3% 0.112 307.3)
XYZxyz(24.7936, 19.6593, 44.5993)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906BB2 #8DB26B
analogous
#6C6BB2 #906BB2 #B26BB0
triadic
#906BB2 #B2906B #6BB290
tetradic
#906BB2 #B26C6B #8DB26B #6BB0B2
square
#906BB2 #B26C6B #8DB26B #6BB0B2
split-complementary
#906BB2 #B0B26B #6BB26C
monochromatic
#52386B #714D93 #906BB2 #AE93C7 #CCBCDC

Accessibility & contrast

On white

4.26
#906BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#906BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906BB2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906BB2#FFFFFF#000000##000000
##906BB21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B5
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#8B7686
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #906bb2;
/* rgb */ color: rgb(144, 107, 178);
/* oklch */ color: oklch(59.3% 0.112 307.3);
Tailwind
colors: {
  custom: {
    50: '#b296c9',
    500: '#906bb2',
    950: '#000000',
  },
}
SCSS
$custom: #906bb2;
$custom-light: #b296c9;
$custom-dark: #000000;
JSON
{
  "hex": "#906bb2",
  "rgb": {
    "r": 144,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 271.268,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59301,
    "c": 0.11232,
    "h": 307.3
  },
  "luminance": 0.19659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #906BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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