#904AED#904AED

#904AED is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.0% C 0.231 H 298.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#904AED
RGBrgb(144, 74, 237)
HSLhsl(266, 82%, 61%)
HSVhsv(266, 69%, 93%)
CMYKcmyk(39.2%, 68.8%, 0%, 7.1%)
CIE-LABlab(48.19, 60.84, -71.17)
CIE-LCHlch(48.19, 93.64, 310.53°)
OKLaboklab(58.02% 0.1104 -0.2032)
OKLCHoklch(58.02% 0.231 298.5)
XYZxyz(29.2326, 16.9409, 81.8341)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AED #A7ED4A
analogous
#4A55ED #904AED #E24AED
triadic
#904AED #ED904A #4AED90
tetradic
#904AED #ED4A55 #A7ED4A #4AEDE2
square
#904AED #ED4A55 #A7ED4A #4AEDE2
split-complementary
#904AED #EDE24A #55ED4A
monochromatic
#5311AC #6E17E3 #904AED #B282F3 #D4B9F8

Accessibility & contrast

On white

4.79
#904AED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#904AED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904AED
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AED#FFFFFF#000000##FFFFFF
##904AED1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F2
Deuteranopia (green-blind)
#0071EA
Tritanopia (blue-blind)
#7A7296
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904aed;
/* rgb */ color: rgb(144, 74, 237);
/* oklch */ color: oklch(58.0% 0.231 298.5);
Tailwind
colors: {
  custom: {
    50: '#b782f4',
    500: '#904aed',
    950: '#000000',
  },
}
SCSS
$custom: #904aed;
$custom-light: #b782f4;
$custom-dark: #000000;
JSON
{
  "hex": "#904aed",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 237
  },
  "hsl": {
    "h": 265.767,
    "s": 81.91,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58022,
    "c": 0.23125,
    "h": 298.5
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#904AED
secondary
#CEE8AB
accent
#DE0782
background
#FBF8FF
surface
#F7EFFE
border
#D0CAD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #904AED

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

Preview Lab → · Contrast checker → · Palette generator →

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