#904EE3#904EE3

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

Color values

HEX#904EE3
RGBrgb(144, 78, 227)
HSLhsl(267, 73%, 60%)
HSVhsv(267, 66%, 89%)
CMYKcmyk(36.6%, 65.6%, 0%, 11%)
CIE-LABlab(48.16, 56.47, -65.57)
CIE-LCHlch(48.16, 86.53, 310.74°)
OKLaboklab(57.78% 0.1078 -0.1867)
OKLCHoklch(57.78% 0.216 300)
XYZxyz(28.0877, 16.9239, 74.4450)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EE3 #A1E34E
analogous
#4E57E3 #904EE3 #DA4EE3
triadic
#904EE3 #E3904E #4EE390
tetradic
#904EE3 #E34E57 #A1E34E #4EE3DA
square
#904EE3 #E34E57 #A1E34E #4EE3DA
split-complementary
#904EE3 #E3DA4E #57E34E
monochromatic
#54199E #7021D3 #904EE3 #B183EB #D2B8F4

Accessibility & contrast

On white

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

On black

4.38
#904EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##904EE3#FFFFFF#000000##FFFFFF
##904EE31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#7E7092
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904ee3;
/* rgb */ color: rgb(144, 78, 227);
/* oklch */ color: oklch(57.8% 0.216 300.0);
Tailwind
colors: {
  custom: {
    50: '#b684ed',
    500: '#904ee3',
    950: '#000000',
  },
}
SCSS
$custom: #904ee3;
$custom-light: #b684ed;
$custom-dark: #000000;
JSON
{
  "hex": "#904ee3",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 227
  },
  "hsl": {
    "h": 266.577,
    "s": 72.683,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.21556,
    "h": 300
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#904EE3
secondary
#CAE3AA
accent
#EF389E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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