#904ADA#904ADA

#904ADA is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.211 H 302.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#904ADA
RGBrgb(144, 74, 218)
HSLhsl(269, 66%, 57%)
HSVhsv(269, 66%, 85%)
CMYKcmyk(33.9%, 66.1%, 0%, 14.5%)
CIE-LABlab(46.83, 56.25, -62.61)
CIE-LCHlch(46.83, 84.17, 311.94°)
OKLaboklab(56.62% 0.113 -0.178)
OKLCHoklch(56.62% 0.211 302.4)
XYZxyz(26.6023, 15.8888, 67.9814)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ADA #94DA4A
analogous
#4A4CDA #904ADA #D84ADA
triadic
#904ADA #DA904A #4ADA90
tetradic
#904ADA #DA4A4C #94DA4A #4ADAD8
square
#904ADA #DA4A4C #94DA4A #4ADAD8
split-complementary
#904ADA #DAD84A #4CDA4A
monochromatic
#531D8D #7127C0 #904ADA #AF7DE4 #CEB0EF

Accessibility & contrast

On white

5.03
#904ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#904ADA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ADA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ADA#FFFFFF#000000##FFFFFF
##904ADA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#056ED7
Tritanopia (blue-blind)
#816A8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904ada;
/* rgb */ color: rgb(144, 74, 218);
/* oklch */ color: oklch(56.6% 0.211 302.4);
Tailwind
colors: {
  custom: {
    50: '#b681e6',
    500: '#904ada',
    950: '#000000',
  },
}
SCSS
$custom: #904ada;
$custom-light: #b681e6;
$custom-dark: #000000;
JSON
{
  "hex": "#904ada",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 218
  },
  "hsl": {
    "h": 269.167,
    "s": 66.055,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.21085,
    "h": 302.4
  },
  "luminance": 0.15889
}

Semantic roles & 50–950 ramp

primary
#904ADA
secondary
#C1DDA3
accent
#E93F96
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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