#905BD9#905BD9

#905BD9 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.187 H 300.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#905BD9
RGBrgb(144, 91, 217)
HSLhsl(265, 62%, 60%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(33.6%, 58.1%, 0%, 14.9%)
CIE-LABlab(50.00, 47.26, -56.93)
CIE-LCHlch(50.00, 73.99, 309.70°)
OKLaboklab(58.9% 0.0936 -0.1613)
OKLCHoklch(58.9% 0.187 300.1)
XYZxyz(27.7641, 18.4210, 67.7251)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD9 #A4D95B
analogous
#5B65D9 #905BD9 #CF5BD9
triadic
#905BD9 #D9905B #5BD990
tetradic
#905BD9 #D95B65 #A4D95B #5BD9CF
square
#905BD9 #D95B65 #A4D95B #5BD9CF
split-complementary
#905BD9 #D9CF5B #65D95B
monochromatic
#542397 #6F2EC8 #905BD9 #B28DE5 #D3BEF0

Accessibility & contrast

On white

4.48
#905BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#905BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD9#FFFFFF#000000##000000
##905BD91.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A77DD
Deuteranopia (green-blind)
#3476D6
Tritanopia (blue-blind)
#817591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905bd9;
/* rgb */ color: rgb(144, 91, 217);
/* oklch */ color: oklch(58.9% 0.187 300.1);
Tailwind
colors: {
  custom: {
    50: '#b58be5',
    500: '#905bd9',
    950: '#000000',
  },
}
SCSS
$custom: #905bd9;
$custom-light: #b58be5;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd9",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 265.238,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58905,
    "c": 0.18651,
    "h": 300.1
  },
  "luminance": 0.18421
}

Semantic roles & 50–950 ramp

primary
#905BD9
secondary
#CCE0B0
accent
#CA1B81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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