#905BD3#905BD3

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

Color values

HEX#905BD3
RGBrgb(144, 91, 211)
HSLhsl(267, 58%, 59%)
HSVhsv(267, 57%, 83%)
CMYKcmyk(31.8%, 56.9%, 0%, 17.3%)
CIE-LABlab(49.63, 45.77, -54.10)
CIE-LCHlch(49.63, 70.86, 310.23°)
OKLaboklab(58.52% 0.0936 -0.153)
OKLCHoklch(58.52% 0.179 301.4)
XYZxyz(26.9978, 18.1145, 63.6895)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD3 #9ED35B
analogous
#5B62D3 #905BD3 #CC5BD3
triadic
#905BD3 #D3905B #5BD390
tetradic
#905BD3 #D35B62 #9ED35B #5BD3CC
square
#905BD3 #D35B62 #9ED35B #5BD3CC
split-complementary
#905BD3 #D3CC5B #62D35B
monochromatic
#54268E #7033BE #905BD3 #B18BE0 #D1BCED

Accessibility & contrast

On white

4.54
#905BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#905BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD3#FFFFFF#000000##000000
##905BD31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2675D7
Deuteranopia (green-blind)
#3B75D0
Tritanopia (blue-blind)
#83738E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905bd3;
/* rgb */ color: rgb(144, 91, 211);
/* oklch */ color: oklch(58.5% 0.179 301.4);
Tailwind
colors: {
  custom: {
    50: '#b48be1',
    500: '#905bd3',
    950: '#000000',
  },
}
SCSS
$custom: #905bd3;
$custom-light: #b48be1;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd3",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 211
  },
  "hsl": {
    "h": 266.5,
    "s": 57.692,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58517,
    "c": 0.17938,
    "h": 301.4
  },
  "luminance": 0.18115
}

Semantic roles & 50–950 ramp

primary
#905BD3
secondary
#C8DCAD
accent
#E1479D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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