#904ADB#904ADB

#904ADB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.212 H 302.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#904ADB
RGBrgb(144, 74, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 66%, 86%)
CMYKcmyk(34.2%, 66.2%, 0%, 14.1%)
CIE-LABlab(46.90, 56.49, -63.07)
CIE-LCHlch(46.90, 84.67, 311.85°)
OKLaboklab(56.69% 0.1129 -0.1793)
OKLCHoklch(56.69% 0.212 302.2)
XYZxyz(26.7335, 15.9413, 68.6727)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ADB #95DB4A
analogous
#4A4CDB #904ADB #D94ADB
triadic
#904ADB #DB904A #4ADB90
tetradic
#904ADB #DB4A4C #95DB4A #4ADBD9
square
#904ADB #DB4A4C #95DB4A #4ADBD9
split-complementary
#904ADB #DBD94A #4CDB4A
monochromatic
#531C8E #7126C1 #904ADB #AF7DE5 #CFB0EF

Accessibility & contrast

On white

5.01
#904ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#904ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ADB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ADB#FFFFFF#000000##FFFFFF
##904ADB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006FD8
Tritanopia (blue-blind)
#816B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904adb;
/* rgb */ color: rgb(144, 74, 219);
/* oklch */ color: oklch(56.7% 0.212 302.2);
Tailwind
colors: {
  custom: {
    50: '#b681e7',
    500: '#904adb',
    950: '#000000',
  },
}
SCSS
$custom: #904adb;
$custom-light: #b681e7;
$custom-dark: #000000;
JSON
{
  "hex": "#904adb",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 268.966,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56695,
    "c": 0.21193,
    "h": 302.2
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#904ADB
secondary
#C1DEA3
accent
#EA3E97
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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