#905ECD#905ECD

#905ECD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.6% C 0.168 H 302.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#905ECD
RGBrgb(144, 94, 205)
HSLhsl(267, 53%, 59%)
HSVhsv(267, 54%, 80%)
CMYKcmyk(29.8%, 54.1%, 0%, 19.6%)
CIE-LABlab(49.91, 42.64, -50.23)
CIE-LCHlch(49.91, 65.89, 310.33°)
OKLaboklab(58.61% 0.0896 -0.1417)
OKLCHoklch(58.61% 0.168 302.3)
XYZxyz(26.5212, 18.3424, 59.8890)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ECD #9BCD5E
analogous
#5E63CD #905ECD #C75ECD
triadic
#905ECD #CD905E #5ECD90
tetradic
#905ECD #CD5E63 #9BCD5E #5ECDC7
square
#905ECD #CD5E63 #9BCD5E #5ECDC7
split-complementary
#905ECD #CDC75E #63CD5E
monochromatic
#542A87 #7138B5 #905ECD #B08DDC #D0BBEA

Accessibility & contrast

On white

4.50
#905ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#905ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ECD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ECD#FFFFFF#000000##000000
##905ECD1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#4576CA
Tritanopia (blue-blind)
#84738C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905ecd;
/* rgb */ color: rgb(144, 94, 205);
/* oklch */ color: oklch(58.6% 0.168 302.3);
Tailwind
colors: {
  custom: {
    50: '#b48ddd',
    500: '#905ecd',
    950: '#000000',
  },
}
SCSS
$custom: #905ecd;
$custom-light: #b48ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#905ecd",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 267.027,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.16765,
    "h": 302.3
  },
  "luminance": 0.18342
}

Semantic roles & 50–950 ramp

primary
#905ECD
secondary
#C6D9AD
accent
#DC4C9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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