#905ED6#905ED6

#905ED6 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.179 H 300.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#905ED6
RGBrgb(144, 94, 214)
HSLhsl(265, 59%, 60%)
HSVhsv(265, 56%, 84%)
CMYKcmyk(32.7%, 56.1%, 0%, 16.1%)
CIE-LABlab(50.44, 44.88, -54.52)
CIE-LCHlch(50.44, 70.61, 309.46°)
OKLaboklab(59.17% 0.0899 -0.1543)
OKLCHoklch(59.17% 0.179 300.2)
XYZxyz(27.6390, 18.7896, 65.7759)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ED6 #A4D65E
analogous
#5E68D6 #905ED6 #CC5ED6
triadic
#905ED6 #D6905E #5ED690
tetradic
#905ED6 #D65E68 #A4D65E #5ED6CC
square
#905ED6 #D65E68 #A4D65E #5ED6CC
split-complementary
#905ED6 #D6CC5E #68D65E
monochromatic
#542694 #6F32C5 #905ED6 #B28FE2 #D3C0EF

Accessibility & contrast

On white

4.41
#905ED6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#905ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ED6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ED6#FFFFFF#000000##000000
##905ED61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2978DA
Deuteranopia (green-blind)
#3C77D3
Tritanopia (blue-blind)
#817691
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905ed6;
/* rgb */ color: rgb(144, 94, 214);
/* oklch */ color: oklch(59.2% 0.179 300.2);
Tailwind
colors: {
  custom: {
    50: '#b48de3',
    500: '#905ed6',
    950: '#000000',
  },
}
SCSS
$custom: #905ed6;
$custom-light: #b48de3;
$custom-dark: #000000;
JSON
{
  "hex": "#905ed6",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 214
  },
  "hsl": {
    "h": 265,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59167,
    "c": 0.17854,
    "h": 300.2
  },
  "luminance": 0.1879
}

Semantic roles & 50–950 ramp

primary
#905ED6
secondary
#CCDFB1
accent
#C71E81
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #905ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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