#904BBB#904BBB

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

Color values

HEX#904BBB
RGBrgb(144, 75, 187)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 60%, 73%)
CMYKcmyk(23%, 59.9%, 0%, 26.7%)
CIE-LABlab(45.01, 48.53, -47.66)
CIE-LCHlch(45.01, 68.02, 315.52°)
OKLaboklab(54.67% 0.1136 -0.1341)
OKLCHoklch(54.67% 0.176 310.3)
XYZxyz(22.9856, 14.5498, 48.6016)
Luminance0.1455 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BBB #76BB4B
analogous
#584BBB #904BBB #BB4BAE
triadic
#904BBB #BB904B #4BBB90
tetradic
#904BBB #BB584B #76BB4B #4BAEBB
square
#904BBB #BB584B #76BB4B #4BAEBB
split-complementary
#904BBB #AEBB4B #4BBB58
monochromatic
#4D2665 #6F3792 #904BBB #AB77CC #C7A4DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##904BBB#FFFFFF#000000##FFFFFF
##904BBB1.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)
#2067BF
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#8A607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #904bbb;
/* rgb */ color: rgb(144, 75, 187);
/* oklch */ color: oklch(54.7% 0.176 310.3);
Tailwind
colors: {
  custom: {
    50: '#b481d0',
    500: '#904bbb',
    950: '#000000',
  },
}
SCSS
$custom: #904bbb;
$custom-light: #b481d0;
$custom-dark: #000000;
JSON
{
  "hex": "#904bbb",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 276.964,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54672,
    "c": 0.17574,
    "h": 310.3
  },
  "luminance": 0.14549
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #904BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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