#905DB1#905DB1

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

Color values

HEX#905DB1
RGBrgb(144, 93, 177)
HSLhsl(276, 35%, 53%)
HSVhsv(276, 47%, 69%)
CMYKcmyk(18.6%, 47.5%, 0%, 30.6%)
CIE-LABlab(48.18, 36.53, -36.80)
CIE-LCHlch(48.18, 51.85, 314.80°)
OKLaboklab(56.83% 0.0884 -0.1025)
OKLCHoklch(56.83% 0.135 310.8)
XYZxyz(23.3503, 16.9327, 43.6247)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DB1 #7EB15D
analogous
#665DB1 #905DB1 #B15DA8
triadic
#905DB1 #B1905D #5DB190
tetradic
#905DB1 #B1665D #7EB15D #5DA8B1
square
#905DB1 #B1665D #7EB15D #5DA8B1
split-complementary
#905DB1 #A8B15D #5DB166
monochromatic
#4F3064 #70448D #905DB1 #AC86C5 #C9B0D9

Accessibility & contrast

On white

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

On black

4.39
#905DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##905DB1#FFFFFF#000000##FFFFFF
##905DB11.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#8C6A7F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #905db1;
/* rgb */ color: rgb(144, 93, 177);
/* oklch */ color: oklch(56.8% 0.135 310.8);
Tailwind
colors: {
  custom: {
    50: '#b28cc8',
    500: '#905db1',
    950: '#000000',
  },
}
SCSS
$custom: #905db1;
$custom-light: #b28cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#905db1",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 276.429,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56827,
    "c": 0.13533,
    "h": 310.8
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

primary
#905DB1
secondary
#B1C7A3
accent
#CB5D88
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #905DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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