#905DC9#905DC9

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

Color values

HEX#905DC9
RGBrgb(144, 93, 201)
HSLhsl(268, 50%, 58%)
HSVhsv(268, 54%, 79%)
CMYKcmyk(28.4%, 53.7%, 0%, 21.2%)
CIE-LABlab(49.47, 42.21, -48.65)
CIE-LCHlch(49.47, 64.41, 310.95°)
OKLaboklab(58.2% 0.0907 -0.137)
OKLCHoklch(58.2% 0.164 303.5)
XYZxyz(25.9562, 17.9751, 57.3491)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DC9 #96C95D
analogous
#5D60C9 #905DC9 #C65DC9
triadic
#905DC9 #C9905D #5DC990
tetradic
#905DC9 #C95D60 #96C95D #5DC9C6
square
#905DC9 #C95D60 #96C95D #5DC9C6
split-complementary
#905DC9 #C9C65D #60C95D
monochromatic
#532B81 #713AAF #905DC9 #AF8BD8 #CFB9E8

Accessibility & contrast

On white

4.57
#905DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##905DC9#FFFFFF#000000##000000
##905DC91.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3774CD
Deuteranopia (green-blind)
#4775C6
Tritanopia (blue-blind)
#86718A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dc9;
/* rgb */ color: rgb(144, 93, 201);
/* oklch */ color: oklch(58.2% 0.164 303.5);
Tailwind
colors: {
  custom: {
    50: '#b38cda',
    500: '#905dc9',
    950: '#000000',
  },
}
SCSS
$custom: #905dc9;
$custom-light: #b38cda;
$custom-dark: #000000;
JSON
{
  "hex": "#905dc9",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 268.333,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58204,
    "c": 0.16434,
    "h": 303.5
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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