#905CD6#905CD6

#905CD6 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.181 H 300.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#905CD6
RGBrgb(144, 92, 214)
HSLhsl(266, 60%, 60%)
HSVhsv(266, 57%, 84%)
CMYKcmyk(32.7%, 57%, 0%, 16.1%)
CIE-LABlab(50.02, 45.97, -55.19)
CIE-LCHlch(50.02, 71.82, 309.79°)
OKLaboklab(58.86% 0.0924 -0.1562)
OKLCHoklch(58.86% 0.181 300.6)
XYZxyz(27.4635, 18.4385, 65.7174)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CD6 #A2D65C
analogous
#5C65D6 #905CD6 #CD5CD6
triadic
#905CD6 #D6905C #5CD690
tetradic
#905CD6 #D65C65 #A2D65C #5CD6CD
square
#905CD6 #D65C65 #A2D65C #5CD6CD
split-complementary
#905CD6 #D6CD5C #65D65C
monochromatic
#542593 #7031C4 #905CD6 #B18DE2 #D3BEEF

Accessibility & contrast

On white

4.48
#905CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#905CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905CD6
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905CD6#FFFFFF#000000##000000
##905CD61.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2476DA
Deuteranopia (green-blind)
#3976D3
Tritanopia (blue-blind)
#827590
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905cd6;
/* rgb */ color: rgb(144, 92, 214);
/* oklch */ color: oklch(58.9% 0.181 300.6);
Tailwind
colors: {
  custom: {
    50: '#b48ce3',
    500: '#905cd6',
    950: '#000000',
  },
}
SCSS
$custom: #905cd6;
$custom-light: #b48ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#905cd6",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 265.574,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.18149,
    "h": 300.6
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#905CD6
secondary
#CADEAF
accent
#E345A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #905CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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