#905EE4#905EE4

#905EE4 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.1% C 0.195 H 297.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#905EE4
RGBrgb(144, 94, 228)
HSLhsl(262, 71%, 63%)
HSVhsv(262, 59%, 89%)
CMYKcmyk(36.8%, 58.8%, 0%, 10.6%)
CIE-LABlab(51.31, 48.43, -61.05)
CIE-LCHlch(51.31, 77.92, 308.42°)
OKLaboklab(60.08% 0.0898 -0.1734)
OKLCHoklch(60.08% 0.195 297.4)
XYZxyz(29.5044, 19.5357, 75.6001)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EE4 #B2E45E
analogous
#5E6FE4 #905EE4 #D35EE4
triadic
#905EE4 #E4905E #5EE490
tetradic
#905EE4 #E45E6F #B2E45E #5EE4D3
square
#905EE4 #E45E6F #B2E45E #5EE4D3
split-complementary
#905EE4 #E4D35E #6FE45E
monochromatic
#521DAB #6C2ADB #905EE4 #B492ED #D8C7F6

Accessibility & contrast

On white

4.28
#905EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#905EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905EE4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EE4#FFFFFF#000000##000000
##905EE41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#047BE8
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#7C7B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ee4;
/* rgb */ color: rgb(144, 94, 228);
/* oklch */ color: oklch(60.1% 0.195 297.4);
Tailwind
colors: {
  custom: {
    50: '#b58eed',
    500: '#905ee4',
    950: '#000000',
  },
}
SCSS
$custom: #905ee4;
$custom-light: #b58eed;
$custom-dark: #000000;
JSON
{
  "hex": "#905ee4",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 262.388,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60082,
    "c": 0.19534,
    "h": 297.4
  },
  "luminance": 0.19536
}

Semantic roles & 50–950 ramp

primary
#905EE4
secondary
#D5E7B7
accent
#D3128B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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