#904ABE#904ABE

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

Color values

HEX#904ABE
RGBrgb(144, 74, 190)
HSLhsl(276, 47%, 52%)
HSVhsv(276, 61%, 75%)
CMYKcmyk(24.2%, 61.1%, 0%, 25.5%)
CIE-LABlab(45.00, 49.72, -49.42)
CIE-LCHlch(45.00, 70.10, 315.18°)
OKLaboklab(54.73% 0.1148 -0.1392)
OKLCHoklch(54.73% 0.18 309.5)
XYZxyz(23.2428, 14.5450, 50.2883)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ABE #78BE4A
analogous
#564ABE #904ABE #BE4AB2
triadic
#904ABE #BE904A #4ABE90
tetradic
#904ABE #BE564A #78BE4A #4AB2BE
square
#904ABE #BE564A #78BE4A #4AB2BE
split-complementary
#904ABE #B2BE4A #4ABE56
monochromatic
#4E2568 #6F3695 #904ABE #AC77CE #C7A4DE

Accessibility & contrast

On white

5.37
#904ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#904ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ABE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ABE#FFFFFF#000000##FFFFFF
##904ABE1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1867C2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#8A607D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #904abe;
/* rgb */ color: rgb(144, 74, 190);
/* oklch */ color: oklch(54.7% 0.180 309.5);
Tailwind
colors: {
  custom: {
    50: '#b480d2',
    500: '#904abe',
    950: '#000000',
  },
}
SCSS
$custom: #904abe;
$custom-light: #b480d2;
$custom-dark: #000000;
JSON
{
  "hex": "#904abe",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 276.207,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.18048,
    "h": 309.5
  },
  "luminance": 0.14545
}

Semantic roles & 50–950 ramp

primary
#904ABE
secondary
#ADCB98
accent
#D75186
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #904ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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