#905ED9#905ED9

#905ED9 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.182 H 299.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#905ED9
RGBrgb(144, 94, 217)
HSLhsl(264, 62%, 61%)
HSVhsv(264, 57%, 85%)
CMYKcmyk(33.6%, 56.7%, 0%, 14.9%)
CIE-LABlab(50.62, 45.63, -55.93)
CIE-LCHlch(50.62, 72.18, 309.21°)
OKLaboklab(59.36% 0.0899 -0.1584)
OKLCHoklch(59.36% 0.182 299.6)
XYZxyz(28.0257, 18.9442, 67.8123)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ED9 #A7D95E
analogous
#5E69D9 #905ED9 #CD5ED9
triadic
#905ED9 #D9905E #5ED990
tetradic
#905ED9 #D95E69 #A7D95E #5ED9CD
square
#905ED9 #D95E69 #A7D95E #5ED9CD
split-complementary
#905ED9 #D9CD5E #69D95E
monochromatic
#532499 #6E30CA #905ED9 #B290E5 #D4C1F0

Accessibility & contrast

On white

4.39
#905ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#905ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ED9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ED9#FFFFFF#000000##000000
##905ED91.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#807792
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905ed9;
/* rgb */ color: rgb(144, 94, 217);
/* oklch */ color: oklch(59.4% 0.182 299.6);
Tailwind
colors: {
  custom: {
    50: '#b48de5',
    500: '#905ed9',
    950: '#000000',
  },
}
SCSS
$custom: #905ed9;
$custom-light: #b48de5;
$custom-dark: #000000;
JSON
{
  "hex": "#905ed9",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 264.39,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.59359,
    "c": 0.18216,
    "h": 299.6
  },
  "luminance": 0.18944
}

Semantic roles & 50–950 ramp

primary
#905ED9
secondary
#CEE1B2
accent
#CA1C83
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #905ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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