#905BB5#905BB5

#905BB5 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.143 H 309.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#905BB5
RGBrgb(144, 91, 181)
HSLhsl(275, 38%, 53%)
HSVhsv(275, 50%, 71%)
CMYKcmyk(20.4%, 49.7%, 0%, 29%)
CIE-LABlab(47.94, 38.57, -39.50)
CIE-LCHlch(47.94, 55.21, 314.32°)
OKLaboklab(56.72% 0.0917 -0.1103)
OKLCHoklch(56.72% 0.143 309.7)
XYZxyz(23.5816, 16.7480, 45.6975)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BB5 #80B55B
analogous
#635BB5 #905BB5 #B55BAD
triadic
#905BB5 #B5905B #5BB590
tetradic
#905BB5 #B5635B #80B55B #5BADB5
square
#905BB5 #B5635B #80B55B #5BADB5
split-complementary
#905BB5 #ADB55B #5BB563
monochromatic
#502F67 #704291 #905BB5 #AD85C8 #C9AFDB

Accessibility & contrast

On white

4.83
#905BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#905BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905BB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BB5#FFFFFF#000000##FFFFFF
##905BB51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446FB8
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#8B6A80
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905bb5;
/* rgb */ color: rgb(144, 91, 181);
/* oklch */ color: oklch(56.7% 0.143 309.7);
Tailwind
colors: {
  custom: {
    50: '#b28bcb',
    500: '#905bb5',
    950: '#000000',
  },
}
SCSS
$custom: #905bb5;
$custom-light: #b28bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#905bb5",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 275.333,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56719,
    "c": 0.14349,
    "h": 309.7
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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