#905BDD#905BDD

#905BDD is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.2% C 0.191 H 299.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#905BDD
RGBrgb(144, 91, 221)
HSLhsl(264, 66%, 61%)
HSVhsv(264, 59%, 87%)
CMYKcmyk(34.8%, 58.8%, 0%, 13.3%)
CIE-LABlab(50.25, 48.26, -58.79)
CIE-LCHlch(50.25, 76.07, 309.38°)
OKLaboklab(59.17% 0.0935 -0.1668)
OKLCHoklch(59.17% 0.191 299.3)
XYZxyz(28.2906, 18.6316, 70.4984)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905BDD #A8DD5B
analogous
#5B67DD #905BDD #D15BDD
triadic
#905BDD #DD905B #5BDD90
tetradic
#905BDD #DD5B67 #A8DD5B #5BDDD1
square
#905BDD #DD5B67 #A8DD5B #5BDDD1
split-complementary
#905BDD #DDD15B #67DD5B
monochromatic
#53219D #6E2BD0 #905BDD #B28EE8 #D5C0F2

Accessibility & contrast

On white

4.44
#905BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#905BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905BDD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905BDD#FFFFFF#000000##000000
##905BDD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E77E1
Deuteranopia (green-blind)
#2E76DA
Tritanopia (blue-blind)
#7F7693
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905bdd;
/* rgb */ color: rgb(144, 91, 221);
/* oklch */ color: oklch(59.2% 0.191 299.3);
Tailwind
colors: {
  custom: {
    50: '#b58ce8',
    500: '#905bdd',
    950: '#000000',
  },
}
SCSS
$custom: #905bdd;
$custom-light: #b58ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#905bdd",
  "rgb": {
    "r": 144,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 264.462,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59169,
    "c": 0.19124,
    "h": 299.3
  },
  "luminance": 0.18632
}

Semantic roles & 50–950 ramp

primary
#905BDD
secondary
#CEE2B1
accent
#CE1884
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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