#905CCD#905CCD

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

Color values

HEX#905CCD
RGBrgb(144, 92, 205)
HSLhsl(268, 53%, 58%)
HSVhsv(268, 55%, 80%)
CMYKcmyk(29.8%, 55.1%, 0%, 19.6%)
CIE-LABlab(49.49, 43.74, -50.91)
CIE-LCHlch(49.49, 67.12, 310.67°)
OKLaboklab(58.29% 0.0922 -0.1437)
OKLCHoklch(58.29% 0.171 302.7)
XYZxyz(26.3457, 17.9914, 59.8305)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905CCD #99CD5C
analogous
#5C60CD #905CCD #C95CCD
triadic
#905CCD #CD905C #5CCD90
tetradic
#905CCD #CD5C60 #99CD5C #5CCDC9
square
#905CCD #CD5C60 #99CD5C #5CCDC9
split-complementary
#905CCD #CDC95C #60CD5C
monochromatic
#542986 #7137B4 #905CCD #B08BDB #D0BAEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##905CCD#FFFFFF#000000##000000
##905CCD1.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)
#3075D1
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#85728C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #905ccd;
/* rgb */ color: rgb(144, 92, 205);
/* oklch */ color: oklch(58.3% 0.171 302.7);
Tailwind
colors: {
  custom: {
    50: '#b48cdd',
    500: '#905ccd',
    950: '#000000',
  },
}
SCSS
$custom: #905ccd;
$custom-light: #b48cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#905ccd",
  "rgb": {
    "r": 144,
    "g": 92,
    "b": 205
  },
  "hsl": {
    "h": 267.611,
    "s": 53.052,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.1707,
    "h": 302.7
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #905CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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