#905CB8#905CB8

#905CB8 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.145 H 308.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#905CB8
RGBrgb(144, 92, 184)
HSLhsl(274, 39%, 54%)
HSVhsv(274, 50%, 72%)
CMYKcmyk(21.7%, 50%, 0%, 27.8%)
CIE-LABlab(48.32, 38.71, -40.65)
CIE-LCHlch(48.32, 56.13, 313.60°)
OKLaboklab(57.05% 0.0907 -0.1137)
OKLCHoklch(57.05% 0.145 308.6)
XYZxyz(23.9788, 17.0446, 47.3648)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB8 #84B85C
analogous
#625CB8 #905CB8 #B85CB2
triadic
#905CB8 #B8905C #5CB890
tetradic
#905CB8 #B8625C #84B85C #5CB2B8
square
#905CB8 #B8625C #84B85C #5CB2B8
split-complementary
#905CB8 #B2B85C #5CB862
monochromatic
#512F6B #714196 #905CB8 #AD87CB #CAB1DD

Accessibility & contrast

On white

4.76
#905CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#905CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905CB8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CB8#FFFFFF#000000##FFFFFF
##905CB81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BB
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#8B6C81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #905cb8;
/* rgb */ color: rgb(144, 92, 184);
/* oklch */ color: oklch(57.0% 0.145 308.6);
Tailwind
colors: {
  custom: {
    50: '#b38cce',
    500: '#905cb8',
    950: '#000000',
  },
}
SCSS
$custom: #905cb8;
$custom-light: #b38cce;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb8",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 184
  },
  "hsl": {
    "h": 273.913,
    "s": 39.316,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57049,
    "c": 0.14543,
    "h": 308.6
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#905CB8
secondary
#B5CBA4
accent
#CF598C
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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