#904ABB#904ABB

#904ABB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.177 H 310.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#904ABB
RGBrgb(144, 74, 187)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 60%, 73%)
CMYKcmyk(23%, 60.4%, 0%, 26.7%)
CIE-LABlab(44.82, 49.04, -47.96)
CIE-LCHlch(44.82, 68.59, 315.64°)
OKLaboklab(54.54% 0.1149 -0.135)
OKLCHoklch(54.54% 0.177 310.4)
XYZxyz(22.9183, 14.4152, 48.5792)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904ABB #75BB4A
analogous
#574ABB #904ABB #BB4AAD
triadic
#904ABB #BB904A #4ABB90
tetradic
#904ABB #BB574A #75BB4A #4AADBB
square
#904ABB #BB574A #75BB4A #4AADBB
split-complementary
#904ABB #ADBB4A #4ABB57
monochromatic
#4D2665 #6F3791 #904ABB #AB76CC #C7A3DC

Accessibility & contrast

On white

5.41
#904ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#904ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904ABB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904ABB#FFFFFF#000000##FFFFFF
##904ABB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#8A5F7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #904abb;
/* rgb */ color: rgb(144, 74, 187);
/* oklch */ color: oklch(54.5% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#b480d0',
    500: '#904abb',
    950: '#000000',
  },
}
SCSS
$custom: #904abb;
$custom-light: #b480d0;
$custom-dark: #000000;
JSON
{
  "hex": "#904abb",
  "rgb": {
    "r": 144,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 277.168,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54535,
    "c": 0.17722,
    "h": 310.4
  },
  "luminance": 0.14415
}

Semantic roles & 50–950 ramp

primary
#904ABB
secondary
#AAC997
accent
#D55384
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #904ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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