#905DCD#905DCD

#905DCD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.169 H 302.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#905DCD
RGBrgb(144, 93, 205)
HSLhsl(267, 53%, 58%)
HSVhsv(267, 55%, 80%)
CMYKcmyk(29.8%, 54.6%, 0%, 19.6%)
CIE-LABlab(49.70, 43.19, -50.57)
CIE-LCHlch(49.70, 66.50, 310.50°)
OKLaboklab(58.45% 0.0909 -0.1427)
OKLCHoklch(58.45% 0.169 302.5)
XYZxyz(26.4329, 18.1658, 59.8596)
Luminance0.1817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCD #9ACD5D
analogous
#5D62CD #905DCD #C85DCD
triadic
#905DCD #CD905D #5DCD90
tetradic
#905DCD #CD5D62 #9ACD5D #5DCDC8
square
#905DCD #CD5D62 #9ACD5D #5DCDC8
split-complementary
#905DCD #CDC85D #62CD5D
monochromatic
#542986 #7138B5 #905DCD #B08CDB #D0BBEA

Accessibility & contrast

On white

4.53
#905DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#905DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCD
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCD#FFFFFF#000000##000000
##905DCD1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#84738C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dcd;
/* rgb */ color: rgb(144, 93, 205);
/* oklch */ color: oklch(58.4% 0.169 302.5);
Tailwind
colors: {
  custom: {
    50: '#b48ddd',
    500: '#905dcd',
    950: '#000000',
  },
}
SCSS
$custom: #905dcd;
$custom-light: #b48ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#905dcd",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 267.321,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58448,
    "c": 0.16918,
    "h": 302.5
  },
  "luminance": 0.18166
}

Semantic roles & 50–950 ramp

primary
#905DCD
secondary
#C5D9AD
accent
#DC4C9A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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