#905ED2#905ED2

#905ED2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.9% C 0.174 H 301.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#905ED2
RGBrgb(144, 94, 210)
HSLhsl(266, 56%, 60%)
HSVhsv(266, 55%, 82%)
CMYKcmyk(31.4%, 55.2%, 0%, 17.6%)
CIE-LABlab(50.20, 43.88, -52.62)
CIE-LCHlch(50.20, 68.51, 309.82°)
OKLaboklab(58.91% 0.0898 -0.1487)
OKLCHoklch(58.91% 0.174 301.1)
XYZxyz(27.1344, 18.5877, 63.1185)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905ED2 #A0D25E
analogous
#5E66D2 #905ED2 #CA5ED2
triadic
#905ED2 #D2905E #5ED290
tetradic
#905ED2 #D25E66 #A0D25E #5ED2CA
square
#905ED2 #D25E66 #A0D25E #5ED2CA
split-complementary
#905ED2 #D2CA5E #66D25E
monochromatic
#54288E #7035BE #905ED2 #B18EDF #D2BEED

Accessibility & contrast

On white

4.45
#905ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#905ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905ED2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905ED2#FFFFFF#000000##000000
##905ED21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#4077CF
Tritanopia (blue-blind)
#83758F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #905ed2;
/* rgb */ color: rgb(144, 94, 210);
/* oklch */ color: oklch(58.9% 0.174 301.1);
Tailwind
colors: {
  custom: {
    50: '#b48de0',
    500: '#905ed2',
    950: '#000000',
  },
}
SCSS
$custom: #905ed2;
$custom-light: #b48de0;
$custom-dark: #000000;
JSON
{
  "hex": "#905ed2",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 265.862,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58915,
    "c": 0.17371,
    "h": 301.1
  },
  "luminance": 0.18588
}

Semantic roles & 50–950 ramp

primary
#905ED2
secondary
#C9DCAF
accent
#E0489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #905ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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