#905CBD#905CBD

#905CBD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.3% C 0.151 H 307.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#905CBD
RGBrgb(144, 92, 189)
HSLhsl(272, 42%, 55%)
HSVhsv(272, 51%, 74%)
CMYKcmyk(23.8%, 51.3%, 0%, 25.9%)
CIE-LABlab(48.58, 39.88, -43.13)
CIE-LCHlch(48.58, 58.74, 312.76°)
OKLaboklab(57.33% 0.0912 -0.1209)
OKLCHoklch(57.33% 0.151 307)
XYZxyz(24.5122, 17.2580, 50.1740)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CBD #89BD5C
analogous
#605CBD #905CBD #BD5CB9
triadic
#905CBD #BD905C #5CBD90
tetradic
#905CBD #BD605C #89BD5C #5CB9BD
square
#905CBD #BD605C #89BD5C #5CB9BD
split-complementary
#905CBD #B9BD5C #5CBD60
monochromatic
#522E71 #713F9C #905CBD #AE88CF #CBB3E0

Accessibility & contrast

On white

4.72
#905CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#905CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CBD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CBD#FFFFFF#000000##FFFFFF
##905CBD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4071C0
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#896D84
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905cbd;
/* rgb */ color: rgb(144, 92, 189);
/* oklch */ color: oklch(57.3% 0.151 307.0);
Tailwind
colors: {
  custom: {
    50: '#b38cd1',
    500: '#905cbd',
    950: '#000000',
  },
}
SCSS
$custom: #905cbd;
$custom-light: #b38cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#905cbd",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 272.165,
    "s": 42.358,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57334,
    "c": 0.15144,
    "h": 307
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#905CBD
secondary
#B9CFA6
accent
#D2568F
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #905CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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