#904ADE#904ADE

#904ADE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.215 H 301.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#904ADE
RGBrgb(144, 74, 222)
HSLhsl(268, 69%, 58%)
HSVhsv(268, 67%, 87%)
CMYKcmyk(35.1%, 66.7%, 0%, 12.9%)
CIE-LABlab(47.11, 57.21, -64.44)
CIE-LCHlch(47.11, 86.17, 311.60°)
OKLaboklab(56.91% 0.1126 -0.1834)
OKLCHoklch(56.91% 0.215 301.5)
XYZxyz(27.1320, 16.1007, 70.7714)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ADE #98DE4A
analogous
#4A4EDE #904ADE #DA4ADE
triadic
#904ADE #DE904A #4ADE90
tetradic
#904ADE #DE4A4E #98DE4A #4ADEDA
square
#904ADE #DE4A4E #98DE4A #4ADEDA
split-complementary
#904ADE #DEDA4A #4EDE4A
monochromatic
#541B93 #7124C7 #904ADE #B07EE7 #CFB2F1

Accessibility & contrast

On white

4.98
#904ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#904ADE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ADE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ADE#FFFFFF#000000##FFFFFF
##904ADE1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#806C8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904ade;
/* rgb */ color: rgb(144, 74, 222);
/* oklch */ color: oklch(56.9% 0.215 301.5);
Tailwind
colors: {
  custom: {
    50: '#b681e9',
    500: '#904ade',
    950: '#000000',
  },
}
SCSS
$custom: #904ade;
$custom-light: #b681e9;
$custom-dark: #000000;
JSON
{
  "hex": "#904ade",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 268.378,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56911,
    "c": 0.21517,
    "h": 301.5
  },
  "luminance": 0.16101
}

Semantic roles & 50–950 ramp

primary
#904ADE
secondary
#C3DFA4
accent
#EC3C99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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