#904EE1#904EE1

#904EE1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.213 H 300.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#904EE1
RGBrgb(144, 78, 225)
HSLhsl(267, 71%, 59%)
HSVhsv(267, 65%, 88%)
CMYKcmyk(36%, 65.3%, 0%, 11.8%)
CIE-LABlab(48.02, 55.98, -64.66)
CIE-LCHlch(48.02, 85.53, 310.89°)
OKLaboklab(57.64% 0.108 -0.184)
OKLCHoklch(57.64% 0.213 300.4)
XYZxyz(27.8133, 16.8141, 72.9997)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EE1 #9FE14E
analogous
#4E56E1 #904EE1 #DA4EE1
triadic
#904EE1 #E1904E #4EE190
tetradic
#904EE1 #E14E56 #9FE14E #4EE1DA
square
#904EE1 #E14E56 #9FE14E #4EE1DA
split-complementary
#904EE1 #E1DA4E #56E14E
monochromatic
#541A9A #7023CF #904EE1 #B182EA #D2B7F3

Accessibility & contrast

On white

4.81
#904EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#904EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904EE1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904EE1#FFFFFF#000000##FFFFFF
##904EE11.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#0071DE
Tritanopia (blue-blind)
#7E6F91
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904ee1;
/* rgb */ color: rgb(144, 78, 225);
/* oklch */ color: oklch(57.6% 0.213 300.4);
Tailwind
colors: {
  custom: {
    50: '#b684eb',
    500: '#904ee1',
    950: '#000000',
  },
}
SCSS
$custom: #904ee1;
$custom-light: #b684eb;
$custom-dark: #000000;
JSON
{
  "hex": "#904ee1",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 225
  },
  "hsl": {
    "h": 266.939,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57637,
    "c": 0.21336,
    "h": 300.4
  },
  "luminance": 0.16814
}

Semantic roles & 50–950 ramp

primary
#904EE1
secondary
#C8E2A9
accent
#EE3A9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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