#904ACE#904ACE

#904ACE is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.198 H 305.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#904ACE
RGBrgb(144, 74, 206)
HSLhsl(272, 57%, 55%)
HSVhsv(272, 64%, 81%)
CMYKcmyk(30.1%, 64.1%, 0%, 19.2%)
CIE-LABlab(46.02, 53.41, -57.05)
CIE-LCHlch(46.02, 78.15, 313.11°)
OKLaboklab(55.79% 0.1141 -0.1616)
OKLCHoklch(55.79% 0.198 305.2)
XYZxyz(25.0885, 15.2832, 60.0088)
Luminance0.1528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ACE #88CE4A
analogous
#4E4ACE #904ACE #CE4ACA
triadic
#904ACE #CE904A #4ACE90
tetradic
#904ACE #CE4E4A #88CE4A #4ACACE
square
#904ACE #CE4E4A #88CE4A #4ACACE
split-complementary
#904ACE #CACE4A #4ACE4E
monochromatic
#52227C #712FAC #904ACE #AE7ADB #CBAAE8

Accessibility & contrast

On white

5.18
#904ACE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#904ACE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ACE
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ACE#FFFFFF#000000##FFFFFF
##904ACE1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#276DCB
Tritanopia (blue-blind)
#856685
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904ace;
/* rgb */ color: rgb(144, 74, 206);
/* oklch */ color: oklch(55.8% 0.198 305.2);
Tailwind
colors: {
  custom: {
    50: '#b581de',
    500: '#904ace',
    950: '#000000',
  },
}
SCSS
$custom: #904ace;
$custom-light: #b581de;
$custom-dark: #000000;
JSON
{
  "hex": "#904ace",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 206
  },
  "hsl": {
    "h": 271.818,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55785,
    "c": 0.19786,
    "h": 305.2
  },
  "luminance": 0.15283
}

Semantic roles & 50–950 ramp

primary
#904ACE
secondary
#B8D69E
accent
#E1478F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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