#904BBD#904BBD

#904BBD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.178 H 309.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#904BBD
RGBrgb(144, 75, 189)
HSLhsl(276, 46%, 52%)
HSVhsv(276, 60%, 74%)
CMYKcmyk(23.8%, 60.3%, 0%, 25.9%)
CIE-LABlab(45.13, 48.99, -48.63)
CIE-LCHlch(45.13, 69.03, 315.21°)
OKLaboklab(54.8% 0.1136 -0.1369)
OKLCHoklch(54.8% 0.178 309.7)
XYZxyz(23.2012, 14.6360, 49.7370)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BBD #78BD4B
analogous
#574BBD #904BBD #BD4BB1
triadic
#904BBD #BD904B #4BBD90
tetradic
#904BBD #BD574B #78BD4B #4BB1BD
square
#904BBD #BD574B #78BD4B #4BB1BD
split-complementary
#904BBD #B1BD4B #4BBD57
monochromatic
#4E2668 #6F3694 #904BBD #AC78CD #C7A5DE

Accessibility & contrast

On white

5.35
#904BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#904BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BBD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BBD#FFFFFF#000000##FFFFFF
##904BBD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#8A617D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #904bbd;
/* rgb */ color: rgb(144, 75, 189);
/* oklch */ color: oklch(54.8% 0.178 309.7);
Tailwind
colors: {
  custom: {
    50: '#b481d1',
    500: '#904bbd',
    950: '#000000',
  },
}
SCSS
$custom: #904bbd;
$custom-light: #b481d1;
$custom-dark: #000000;
JSON
{
  "hex": "#904bbd",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 276.316,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.17792,
    "h": 309.7
  },
  "luminance": 0.14636
}

Semantic roles & 50–950 ramp

primary
#904BBD
secondary
#ADCB99
accent
#D65286
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #904BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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