#905DCC#905DCC

#905DCC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.168 H 302.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#905DCC
RGBrgb(144, 93, 204)
HSLhsl(268, 52%, 58%)
HSVhsv(268, 54%, 80%)
CMYKcmyk(29.4%, 54.4%, 0%, 20%)
CIE-LABlab(49.64, 42.95, -50.09)
CIE-LCHlch(49.64, 65.98, 310.61°)
OKLaboklab(58.39% 0.0909 -0.1413)
OKLCHoklch(58.39% 0.168 302.7)
XYZxyz(26.3126, 18.1176, 59.2259)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905DCC #99CC5D
analogous
#5D61CC #905DCC #C85DCC
triadic
#905DCC #CC905D #5DCC90
tetradic
#905DCC #CC5D61 #99CC5D #5DCCC8
square
#905DCC #CC5D61 #99CC5D #5DCCC8
split-complementary
#905DCC #CCC85D #61CC5D
monochromatic
#542A85 #7138B3 #905DCC #B08CDB #D0BAE9

Accessibility & contrast

On white

4.54
#905DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#905DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905DCC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905DCC#FFFFFF#000000##000000
##905DCC1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3475D0
Deuteranopia (green-blind)
#4576C9
Tritanopia (blue-blind)
#85728C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905dcc;
/* rgb */ color: rgb(144, 93, 204);
/* oklch */ color: oklch(58.4% 0.168 302.7);
Tailwind
colors: {
  custom: {
    50: '#b48cdc',
    500: '#905dcc',
    950: '#000000',
  },
}
SCSS
$custom: #905dcc;
$custom-light: #b48cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#905dcc",
  "rgb": {
    "r": 144,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 267.568,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.16797,
    "h": 302.7
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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