#905BD2#905BD2

#905BD2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.5% C 0.178 H 301.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#905BD2
RGBrgb(144, 91, 210)
HSLhsl(267, 57%, 59%)
HSVhsv(267, 57%, 82%)
CMYKcmyk(31.4%, 56.7%, 0%, 17.6%)
CIE-LABlab(49.57, 45.52, -53.63)
CIE-LCHlch(49.57, 70.34, 310.33°)
OKLaboklab(58.45% 0.0936 -0.1516)
OKLCHoklch(58.45% 0.178 301.7)
XYZxyz(26.8728, 18.0645, 63.0313)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD2 #9DD25B
analogous
#5B62D2 #905BD2 #CC5BD2
triadic
#905BD2 #D2905B #5BD290
tetradic
#905BD2 #D25B62 #9DD25B #5BD2CC
square
#905BD2 #D25B62 #9DD25B #5BD2CC
split-complementary
#905BD2 #D2CC5B #62D25B
monochromatic
#54268C #7034BC #905BD2 #B18BDF #D1BBEC

Accessibility & contrast

On white

4.55
#905BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#905BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD2#FFFFFF#000000##000000
##905BD21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2775D6
Deuteranopia (green-blind)
#3C75CF
Tritanopia (blue-blind)
#83738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905bd2;
/* rgb */ color: rgb(144, 91, 210);
/* oklch */ color: oklch(58.5% 0.178 301.7);
Tailwind
colors: {
  custom: {
    50: '#b48be0',
    500: '#905bd2',
    950: '#000000',
  },
}
SCSS
$custom: #905bd2;
$custom-light: #b48be0;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd2",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 266.723,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58454,
    "c": 0.17819,
    "h": 301.7
  },
  "luminance": 0.18065
}

Semantic roles & 50–950 ramp

primary
#905BD2
secondary
#C7DCAD
accent
#E0489C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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