#905AED#905AED

#905AED is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.1% C 0.211 H 296.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#905AED
RGBrgb(144, 90, 237)
HSLhsl(262, 80%, 64%)
HSVhsv(262, 62%, 93%)
CMYKcmyk(39.2%, 62%, 0%, 7.1%)
CIE-LABlab(51.10, 52.86, -66.45)
CIE-LCHlch(51.10, 84.91, 308.50°)
OKLaboklab(60.12% 0.0939 -0.1893)
OKLCHoklch(60.12% 0.211 296.4)
XYZxyz(30.4399, 19.3555, 82.2366)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905AED #B7ED5A
analogous
#5A6EED #905AED #DA5AED
triadic
#905AED #ED905A #5AED90
tetradic
#905AED #ED5A6E #B7ED5A #5AEDDA
square
#905AED #ED5A6E #B7ED5A #5AEDDA
split-complementary
#905AED #EDDA5A #6EED5A
monochromatic
#5014B8 #6B23E7 #905AED #B591F3 #DAC8F9

Accessibility & contrast

On white

4.31
#905AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#905AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #905AED
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905AED#FFFFFF#000000##000000
##905AED1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#797B9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #905aed;
/* rgb */ color: rgb(144, 90, 237);
/* oklch */ color: oklch(60.1% 0.211 296.4);
Tailwind
colors: {
  custom: {
    50: '#b68bf4',
    500: '#905aed',
    950: '#000000',
  },
}
SCSS
$custom: #905aed;
$custom-light: #b68bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#905aed",
  "rgb": {
    "r": 144,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 262.041,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60118,
    "c": 0.21133,
    "h": 296.4
  },
  "luminance": 0.19356
}

Semantic roles & 50–950 ramp

primary
#905AED
secondary
#D8EBB8
accent
#DD098F
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #905AED

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

Preview Lab → · Contrast checker → · Palette generator →

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