#905CB1#905CB1

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

Color values

HEX#905CB1
RGBrgb(144, 92, 177)
HSLhsl(277, 35%, 53%)
HSVhsv(277, 48%, 69%)
CMYKcmyk(18.6%, 48%, 0%, 30.6%)
CIE-LABlab(47.95, 37.10, -37.14)
CIE-LCHlch(47.95, 52.50, 314.96°)
OKLaboklab(56.66% 0.0898 -0.1035)
OKLCHoklch(56.66% 0.137 310.9)
XYZxyz(23.2631, 16.7583, 43.5956)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CB1 #7DB15C
analogous
#655CB1 #905CB1 #B15CA7
triadic
#905CB1 #B1905C #5CB190
tetradic
#905CB1 #B1655C #7DB15C #5CA7B1
square
#905CB1 #B1655C #7DB15C #5CA7B1
split-complementary
#905CB1 #A7B15C #5CB165
monochromatic
#4F2F63 #70438D #905CB1 #AC85C5 #C8AFD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CB1#FFFFFF#000000##FFFFFF
##905CB11.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)
#486FB4
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#8C697E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905cb1;
/* rgb */ color: rgb(144, 92, 177);
/* oklch */ color: oklch(56.7% 0.137 310.9);
Tailwind
colors: {
  custom: {
    50: '#b28bc8',
    500: '#905cb1',
    950: '#000000',
  },
}
SCSS
$custom: #905cb1;
$custom-light: #b28bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#905cb1",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 177
  },
  "hsl": {
    "h": 276.706,
    "s": 35.27,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.13703,
    "h": 310.9
  },
  "luminance": 0.16758
}

Semantic roles & 50–950 ramp

primary
#905CB1
secondary
#B0C7A2
accent
#CB5C88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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