#905CBB#905CBB

#905CBB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.149 H 307.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905CBB
RGBrgb(144, 92, 187)
HSLhsl(273, 41%, 55%)
HSVhsv(273, 51%, 73%)
CMYKcmyk(23%, 50.8%, 0%, 26.7%)
CIE-LABlab(48.48, 39.41, -42.14)
CIE-LCHlch(48.48, 57.70, 313.09°)
OKLaboklab(57.22% 0.091 -0.118)
OKLCHoklch(57.22% 0.149 307.6)
XYZxyz(24.2966, 17.1717, 49.0386)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CBB #87BB5C
analogous
#605CBB #905CBB #BB5CB7
triadic
#905CBB #BB905C #5CBB90
tetradic
#905CBB #BB605C #87BB5C #5CB7BB
square
#905CBB #BB605C #87BB5C #5CB7BB
split-complementary
#905CBB #B7BB5C #5CBB60
monochromatic
#512E6F #71409A #905CBB #AD87CD #CBB2DF

Accessibility & contrast

On white

4.74
#905CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#905CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CBB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CBB#FFFFFF#000000##FFFFFF
##905CBB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4171BE
Deuteranopia (green-blind)
#5174B9
Tritanopia (blue-blind)
#8A6C83
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905cbb;
/* rgb */ color: rgb(144, 92, 187);
/* oklch */ color: oklch(57.2% 0.149 307.6);
Tailwind
colors: {
  custom: {
    50: '#b38cd0',
    500: '#905cbb',
    950: '#000000',
  },
}
SCSS
$custom: #905cbb;
$custom-light: #b38cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#905cbb",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 187
  },
  "hsl": {
    "h": 272.842,
    "s": 41.126,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5722,
    "c": 0.14903,
    "h": 307.6
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#905CBB
secondary
#B8CDA5
accent
#D1578E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905CBB

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

Preview Lab → · Contrast checker → · Palette generator →

#905CBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva