#904ABD#904ABD

#904ABD is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.179 H 309.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#904ABD
RGBrgb(144, 74, 189)
HSLhsl(277, 47%, 52%)
HSVhsv(277, 61%, 74%)
CMYKcmyk(23.8%, 60.8%, 0%, 25.9%)
CIE-LABlab(44.94, 49.49, -48.93)
CIE-LCHlch(44.94, 69.60, 315.33°)
OKLaboklab(54.66% 0.1148 -0.1378)
OKLCHoklch(54.66% 0.179 309.8)
XYZxyz(23.1339, 14.5014, 49.7146)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ABD #77BD4A
analogous
#574ABD #904ABD #BD4AB1
triadic
#904ABD #BD904A #4ABD90
tetradic
#904ABD #BD574A #77BD4A #4AB1BD
square
#904ABD #BD574A #77BD4A #4AB1BD
split-complementary
#904ABD #B1BD4A #4ABD57
monochromatic
#4D2667 #6F3694 #904ABD #AC77CD #C7A4DE

Accessibility & contrast

On white

5.38
#904ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#904ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ABD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ABD#FFFFFF#000000##FFFFFF
##904ABD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #904abd;
/* rgb */ color: rgb(144, 74, 189);
/* oklch */ color: oklch(54.7% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#b480d1',
    500: '#904abd',
    950: '#000000',
  },
}
SCSS
$custom: #904abd;
$custom-light: #b480d1;
$custom-dark: #000000;
JSON
{
  "hex": "#904abd",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 276.522,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54662,
    "c": 0.1794,
    "h": 309.8
  },
  "luminance": 0.14501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #904ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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