#904ABC#904ABC

#904ABC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.178 H 310.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#904ABC
RGBrgb(144, 74, 188)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 61%, 74%)
CMYKcmyk(23.4%, 60.6%, 0%, 26.3%)
CIE-LABlab(44.88, 49.27, -48.45)
CIE-LCHlch(44.88, 69.10, 315.48°)
OKLaboklab(54.6% 0.1149 -0.1364)
OKLCHoklch(54.6% 0.178 310.1)
XYZxyz(23.0257, 14.4581, 49.1449)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ABC #76BC4A
analogous
#574ABC #904ABC #BC4AAF
triadic
#904ABC #BC904A #4ABC90
tetradic
#904ABC #BC574A #76BC4A #4AAFBC
square
#904ABC #BC574A #76BC4A #4AAFBC
split-complementary
#904ABC #AFBC4A #4ABC57
monochromatic
#4D2666 #6F3693 #904ABC #AB77CD #C7A3DD

Accessibility & contrast

On white

5.40
#904ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#904ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ABC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ABC#FFFFFF#000000##FFFFFF
##904ABC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C67C0
Deuteranopia (green-blind)
#3D6BB9
Tritanopia (blue-blind)
#8A607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #904abc;
/* rgb */ color: rgb(144, 74, 188);
/* oklch */ color: oklch(54.6% 0.178 310.1);
Tailwind
colors: {
  custom: {
    50: '#b480d1',
    500: '#904abc',
    950: '#000000',
  },
}
SCSS
$custom: #904abc;
$custom-light: #b480d1;
$custom-dark: #000000;
JSON
{
  "hex": "#904abc",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 276.842,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.17831,
    "h": 310.1
  },
  "luminance": 0.14458
}

Semantic roles & 50–950 ramp

primary
#904ABC
secondary
#ABCA98
accent
#D65285
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #904ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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