#905BD8#905BD8

#905BD8 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.185 H 300.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905BD8
RGBrgb(144, 91, 216)
HSLhsl(265, 62%, 60%)
HSVhsv(265, 58%, 85%)
CMYKcmyk(33.3%, 57.9%, 0%, 15.3%)
CIE-LABlab(49.94, 47.01, -56.46)
CIE-LCHlch(49.94, 73.47, 309.78°)
OKLaboklab(58.84% 0.0936 -0.1599)
OKLCHoklch(58.84% 0.185 300.3)
XYZxyz(27.6344, 18.3691, 67.0421)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BD8 #A3D85B
analogous
#5B65D8 #905BD8 #CE5BD8
triadic
#905BD8 #D8905B #5BD890
tetradic
#905BD8 #D85B65 #A3D85B #5BD8CE
square
#905BD8 #D85B65 #A3D85B #5BD8CE
split-complementary
#905BD8 #D8CE5B #65D85B
monochromatic
#542395 #6F2FC7 #905BD8 #B18CE4 #D3BEF0

Accessibility & contrast

On white

4.49
#905BD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#905BD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BD8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BD8#FFFFFF#000000##000000
##905BD81.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DC
Deuteranopia (green-blind)
#3576D5
Tritanopia (blue-blind)
#817591
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905bd8;
/* rgb */ color: rgb(144, 91, 216);
/* oklch */ color: oklch(58.8% 0.185 300.3);
Tailwind
colors: {
  custom: {
    50: '#b58be5',
    500: '#905bd8',
    950: '#000000',
  },
}
SCSS
$custom: #905bd8;
$custom-light: #b58be5;
$custom-dark: #000000;
JSON
{
  "hex": "#905bd8",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 216
  },
  "hsl": {
    "h": 265.44,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5884,
    "c": 0.18532,
    "h": 300.3
  },
  "luminance": 0.18369
}

Semantic roles & 50–950 ramp

primary
#905BD8
secondary
#CBDFAF
accent
#C91C80
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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