#904AE5#904AE5

#904AE5 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.223 H 300.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#904AE5
RGBrgb(144, 74, 229)
HSLhsl(267, 75%, 59%)
HSVhsv(267, 68%, 90%)
CMYKcmyk(37.1%, 67.7%, 0%, 10.2%)
CIE-LABlab(47.60, 58.90, -67.61)
CIE-LCHlch(47.60, 89.66, 311.06°)
OKLaboklab(57.42% 0.1117 -0.1927)
OKLCHoklch(57.42% 0.223 300.1)
XYZxyz(28.0897, 16.4837, 75.8153)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AE5 #9FE54A
analogous
#4A52E5 #904AE5 #DE4AE5
triadic
#904AE5 #E5904A #4AE590
tetradic
#904AE5 #E54A52 #9FE54A #4AE5DE
square
#904AE5 #E54A52 #9FE54A #4AE5DE
split-complementary
#904AE5 #E5DE4A #52E54A
monochromatic
#54179E #701ED3 #904AE5 #B180ED #D2B5F4

Accessibility & contrast

On white

4.89
#904AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#904AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904AE5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AE5#FFFFFF#000000##FFFFFF
##904AE51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EA
Deuteranopia (green-blind)
#0070E2
Tritanopia (blue-blind)
#7D6F92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904ae5;
/* rgb */ color: rgb(144, 74, 229);
/* oklch */ color: oklch(57.4% 0.223 300.1);
Tailwind
colors: {
  custom: {
    50: '#b781ee',
    500: '#904ae5',
    950: '#000000',
  },
}
SCSS
$custom: #904ae5;
$custom-light: #b781ee;
$custom-dark: #000000;
JSON
{
  "hex": "#904ae5",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 267.097,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57423,
    "c": 0.22269,
    "h": 300.1
  },
  "luminance": 0.16484
}

Semantic roles & 50–950 ramp

primary
#904AE5
secondary
#C8E4A7
accent
#F1369D
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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