#905DCA#905DCA

#905DCA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.3% C 0.166 H 303.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#905DCA
RGBrgb(144, 93, 202)
HSLhsl(268, 51%, 58%)
HSVhsv(268, 54%, 79%)
CMYKcmyk(28.7%, 54%, 0%, 20.8%)
CIE-LABlab(49.52, 42.46, -49.13)
CIE-LCHlch(49.52, 64.93, 310.83°)
OKLaboklab(58.26% 0.0908 -0.1385)
OKLCHoklch(58.26% 0.166 303.2)
XYZxyz(26.0742, 18.0223, 57.9707)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCA #97CA5D
analogous
#5D60CA #905DCA #C65DCA
triadic
#905DCA #CA905D #5DCA90
tetradic
#905DCA #CA5D60 #97CA5D #5DCAC6
square
#905DCA #CA5D60 #97CA5D #5DCAC6
split-complementary
#905DCA #CAC65D #60CA5D
monochromatic
#532B82 #713AB0 #905DCA #B08BD9 #CFB9E8

Accessibility & contrast

On white

4.56
#905DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#905DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCA#FFFFFF#000000##000000
##905DCA1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CE
Deuteranopia (green-blind)
#4676C7
Tritanopia (blue-blind)
#85728B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dca;
/* rgb */ color: rgb(144, 93, 202);
/* oklch */ color: oklch(58.3% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#b38cdb',
    500: '#905dca',
    950: '#000000',
  },
}
SCSS
$custom: #905dca;
$custom-light: #b38cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#905dca",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 268.073,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.16556,
    "h": 303.2
  },
  "luminance": 0.18022
}

Semantic roles & 50–950 ramp

primary
#905DCA
secondary
#C3D7AC
accent
#DA4E98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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