#904EDA#904EDA

#904EDA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.206 H 301.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#904EDA
RGBrgb(144, 78, 218)
HSLhsl(268, 65%, 58%)
HSVhsv(268, 64%, 85%)
CMYKcmyk(33.9%, 64.2%, 0%, 14.5%)
CIE-LABlab(47.55, 54.28, -61.45)
CIE-LCHlch(47.55, 81.99, 311.45°)
OKLaboklab(57.14% 0.1087 -0.1746)
OKLCHoklch(57.14% 0.206 301.9)
XYZxyz(26.8779, 16.4399, 68.0733)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904EDA #98DA4E
analogous
#4E52DA #904EDA #D64EDA
triadic
#904EDA #DA904E #4EDA90
tetradic
#904EDA #DA4E52 #98DA4E #4EDAD6
square
#904EDA #DA4E52 #98DA4E #4EDAD6
split-complementary
#904EDA #DAD64E #52DA4E
monochromatic
#541E90 #7129C2 #904EDA #B081E5 #CFB3EF

Accessibility & contrast

On white

4.90
#904EDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#904EDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904EDA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904EDA#FFFFFF#000000##FFFFFF
##904EDA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#1670D7
Tritanopia (blue-blind)
#816D8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904eda;
/* rgb */ color: rgb(144, 78, 218);
/* oklch */ color: oklch(57.1% 0.206 301.9);
Tailwind
colors: {
  custom: {
    50: '#b583e6',
    500: '#904eda',
    950: '#000000',
  },
}
SCSS
$custom: #904eda;
$custom-light: #b583e6;
$custom-dark: #000000;
JSON
{
  "hex": "#904eda",
  "rgb": {
    "r": 144,
    "g": 78,
    "b": 218
  },
  "hsl": {
    "h": 268.286,
    "s": 65.421,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.20565,
    "h": 301.9
  },
  "luminance": 0.1644
}

Semantic roles & 50–950 ramp

primary
#904EDA
secondary
#C3DEA6
accent
#E83F99
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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