#905AE1#905AE1

#905AE1 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.197 H 298.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#905AE1
RGBrgb(144, 90, 225)
HSLhsl(264, 69%, 62%)
HSVhsv(264, 60%, 88%)
CMYKcmyk(36%, 60%, 0%, 11.8%)
CIE-LABlab(50.31, 49.81, -60.97)
CIE-LCHlch(50.31, 78.73, 309.25°)
OKLaboklab(59.29% 0.0946 -0.1732)
OKLCHoklch(59.29% 0.197 298.6)
XYZxyz(28.7450, 18.6775, 73.3103)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AE1 #ABE15A
analogous
#5A68E1 #905AE1 #D45AE1
triadic
#905AE1 #E1905A #5AE190
tetradic
#905AE1 #E15A68 #ABE15A #5AE1D4
square
#905AE1 #E15A68 #ABE15A #5AE1D4
split-complementary
#905AE1 #E1D45A #68E15A
monochromatic
#531EA3 #6D27D7 #905AE1 #B38EEA #D6C2F4

Accessibility & contrast

On white

4.43
#905AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#905AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905AE1
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AE1#FFFFFF#000000##000000
##905AE11.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2576DE
Tritanopia (blue-blind)
#7E7795
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #905ae1;
/* rgb */ color: rgb(144, 90, 225);
/* oklch */ color: oklch(59.3% 0.197 298.6);
Tailwind
colors: {
  custom: {
    50: '#b58beb',
    500: '#905ae1',
    950: '#000000',
  },
}
SCSS
$custom: #905ae1;
$custom-light: #b58beb;
$custom-dark: #000000;
JSON
{
  "hex": "#905ae1",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 264,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.19735,
    "h": 298.6
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#905AE1
secondary
#D0E4B2
accent
#D11486
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #905AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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