#905EE5#905EE5

#905EE5 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 60.1% C 0.197 H 297.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#905EE5
RGBrgb(144, 94, 229)
HSLhsl(262, 72%, 63%)
HSVhsv(262, 59%, 90%)
CMYKcmyk(37.1%, 59%, 0%, 10.2%)
CIE-LABlab(51.37, 48.68, -61.51)
CIE-LCHlch(51.37, 78.44, 308.36°)
OKLaboklab(60.15% 0.0898 -0.1748)
OKLCHoklch(60.15% 0.197 297.2)
XYZxyz(29.6436, 19.5914, 76.3333)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905EE5 #B3E55E
analogous
#5E6FE5 #905EE5 #D35EE5
triadic
#905EE5 #E5905E #5EE590
tetradic
#905EE5 #E55E6F #B3E55E #5EE5D3
square
#905EE5 #E55E6F #B3E55E #5EE5D3
split-complementary
#905EE5 #E5D35E #6FE55E
monochromatic
#521CAD #6C29DC #905EE5 #B493EE #D9C7F6

Accessibility & contrast

On white

4.27
#905EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#905EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905EE5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905EE5#FFFFFF#000000##000000
##905EE51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BE9
Deuteranopia (green-blind)
#2779E2
Tritanopia (blue-blind)
#7C7B99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905ee5;
/* rgb */ color: rgb(144, 94, 229);
/* oklch */ color: oklch(60.1% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#b58eee',
    500: '#905ee5',
    950: '#000000',
  },
}
SCSS
$custom: #905ee5;
$custom-light: #b58eee;
$custom-dark: #000000;
JSON
{
  "hex": "#905ee5",
  "rgb": {
    "r": 144,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 262.222,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60149,
    "c": 0.19652,
    "h": 297.2
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#905EE5
secondary
#D6E7B7
accent
#D4118C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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