#904ACF#904ACF

#904ACF is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.9% C 0.199 H 305.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#904ACF
RGBrgb(144, 74, 207)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 64%, 81%)
CMYKcmyk(30.4%, 64.3%, 0%, 18.8%)
CIE-LABlab(46.09, 53.65, -57.51)
CIE-LCHlch(46.09, 78.65, 313.01°)
OKLaboklab(55.85% 0.1141 -0.163)
OKLCHoklch(55.85% 0.199 305)
XYZxyz(25.2104, 15.3320, 60.6506)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ACF #89CF4A
analogous
#4D4ACF #904ACF #CF4ACC
triadic
#904ACF #CF904A #4ACF90
tetradic
#904ACF #CF4D4A #89CF4A #4ACCCF
square
#904ACF #CF4D4A #89CF4A #4ACCCF
split-complementary
#904ACF #CCCF4A #4ACF4D
monochromatic
#52217D #712EAE #904ACF #AE7ADC #CBABE9

Accessibility & contrast

On white

5.16
#904ACF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#904ACF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ACF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ACF#FFFFFF#000000##FFFFFF
##904ACF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#266DCC
Tritanopia (blue-blind)
#856686
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904acf;
/* rgb */ color: rgb(144, 74, 207);
/* oklch */ color: oklch(55.9% 0.199 305.0);
Tailwind
colors: {
  custom: {
    50: '#b581de',
    500: '#904acf',
    950: '#000000',
  },
}
SCSS
$custom: #904acf;
$custom-light: #b581de;
$custom-dark: #000000;
JSON
{
  "hex": "#904acf",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 207
  },
  "hsl": {
    "h": 271.579,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.19895,
    "h": 305
  },
  "luminance": 0.15332
}

Semantic roles & 50–950 ramp

primary
#904ACF
secondary
#B9D69F
accent
#E14690
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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