#906DB2#906DB2

#906DB2 is a mid, moderate violet. Relative luminance 0.201; OKLCH L 59.7% C 0.109 H 306.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#906DB2
RGBrgb(144, 109, 178)
HSLhsl(270, 31%, 56%)
HSVhsv(270, 39%, 70%)
CMYKcmyk(19.1%, 38.8%, 0%, 30.2%)
CIE-LABlab(51.93, 27.58, -31.49)
CIE-LCHlch(51.93, 41.86, 311.21°)
OKLaboklab(59.66% 0.065 -0.0872)
OKLCHoklch(59.66% 0.109 306.7)
XYZxyz(25.0045, 20.0811, 44.6696)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#906DB2 #8FB26D
analogous
#6E6DB2 #906DB2 #B26DB2
triadic
#906DB2 #B2906D #6DB290
tetradic
#906DB2 #B26E6D #8FB26D #6DB2B2
square
#906DB2 #B26E6D #8FB26D #6DB2B2
split-complementary
#906DB2 #B2B26D #6DB26E
monochromatic
#53396C #714E94 #906DB2 #AE95C7 #CDBDDC

Accessibility & contrast

On white

4.19
#906DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#906DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #906DB2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##906DB2#FFFFFF#000000##000000
##906DB21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB5
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#8B7887
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #906db2;
/* rgb */ color: rgb(144, 109, 178);
/* oklch */ color: oklch(59.7% 0.109 306.7);
Tailwind
colors: {
  custom: {
    50: '#b197c9',
    500: '#906db2',
    950: '#000000',
  },
}
SCSS
$custom: #906db2;
$custom-light: #b197c9;
$custom-dark: #000000;
JSON
{
  "hex": "#906db2",
  "rgb": {
    "r": 144,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 270.435,
    "s": 30.942,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.10882,
    "h": 306.7
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#906DB2
secondary
#BDCCAF
accent
#C76193
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #906DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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