#905CB5#905CB5

#905CB5 is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.9% C 0.142 H 309.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#905CB5
RGBrgb(144, 92, 181)
HSLhsl(275, 38%, 54%)
HSVhsv(275, 49%, 71%)
CMYKcmyk(20.4%, 49.2%, 0%, 29%)
CIE-LABlab(48.16, 38.02, -39.15)
CIE-LCHlch(48.16, 54.57, 314.16°)
OKLaboklab(56.88% 0.0903 -0.1093)
OKLCHoklch(56.88% 0.142 309.6)
XYZxyz(23.6677, 16.9201, 45.7262)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB5 #81B55C
analogous
#635CB5 #905CB5 #B55CAD
triadic
#905CB5 #B5905C #5CB590
tetradic
#905CB5 #B5635C #81B55C #5CADB5
square
#905CB5 #B5635C #81B55C #5CADB5
split-complementary
#905CB5 #ADB55C #5CB563
monochromatic
#502F68 #714292 #905CB5 #AD86C8 #C9B0DB

Accessibility & contrast

On white

4.79
#905CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#905CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CB5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CB5#FFFFFF#000000##FFFFFF
##905CB51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#8B6B80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905cb5;
/* rgb */ color: rgb(144, 92, 181);
/* oklch */ color: oklch(56.9% 0.142 309.6);
Tailwind
colors: {
  custom: {
    50: '#b28bcb',
    500: '#905cb5',
    950: '#000000',
  },
}
SCSS
$custom: #905cb5;
$custom-light: #b28bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb5",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 275.056,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56882,
    "c": 0.14183,
    "h": 309.6
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#905CB5
secondary
#B3C9A3
accent
#CE5A8A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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