#904AE3#904AE3

#904AE3 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.221 H 300.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#904AE3
RGBrgb(144, 74, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 67%, 89%)
CMYKcmyk(36.6%, 67.4%, 0%, 11%)
CIE-LABlab(47.46, 58.41, -66.71)
CIE-LCHlch(47.46, 88.67, 311.21°)
OKLaboklab(57.28% 0.1119 -0.19)
OKLCHoklch(57.28% 0.221 300.5)
XYZxyz(27.8121, 16.3727, 74.3531)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904AE3 #9DE34A
analogous
#4A51E3 #904AE3 #DD4AE3
triadic
#904AE3 #E3904A #4AE390
tetradic
#904AE3 #E34A51 #9DE34A #4AE3DD
square
#904AE3 #E34A51 #9DE34A #4AE3DD
split-complementary
#904AE3 #E3DD4A #51E34A
monochromatic
#54189B #7020D0 #904AE3 #B17FEB #D1B4F3

Accessibility & contrast

On white

4.91
#904AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#904AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904AE3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904AE3#FFFFFF#000000##FFFFFF
##904AE31.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#7E6E91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904ae3;
/* rgb */ color: rgb(144, 74, 227);
/* oklch */ color: oklch(57.3% 0.221 300.5);
Tailwind
colors: {
  custom: {
    50: '#b681ed',
    500: '#904ae3',
    950: '#000000',
  },
}
SCSS
$custom: #904ae3;
$custom-light: #b681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#904ae3",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 267.451,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57276,
    "c": 0.22054,
    "h": 300.5
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#904AE3
secondary
#C7E2A6
accent
#F0389C
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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