#904BBE#904BBE

#904BBE is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.9% C 0.179 H 309.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#904BBE
RGBrgb(144, 75, 190)
HSLhsl(276, 47%, 52%)
HSVhsv(276, 61%, 75%)
CMYKcmyk(24.2%, 60.5%, 0%, 25.5%)
CIE-LABlab(45.19, 49.21, -49.12)
CIE-LCHlch(45.19, 69.53, 315.06°)
OKLaboklab(54.86% 0.1136 -0.1384)
OKLCHoklch(54.86% 0.179 309.4)
XYZxyz(23.3101, 14.6796, 50.3107)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BBE #79BE4B
analogous
#574BBE #904BBE #BE4BB3
triadic
#904BBE #BE904B #4BBE90
tetradic
#904BBE #BE574B #79BE4B #4BB3BE
square
#904BBE #BE574B #79BE4B #4BB3BE
split-complementary
#904BBE #B3BE4B #4BBE57
monochromatic
#4E2669 #6F3696 #904BBE #AC78CE #C7A5DE

Accessibility & contrast

On white

5.34
#904BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#904BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BBE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BBE#FFFFFF#000000##FFFFFF
##904BBE1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #904bbe;
/* rgb */ color: rgb(144, 75, 190);
/* oklch */ color: oklch(54.9% 0.179 309.4);
Tailwind
colors: {
  custom: {
    50: '#b481d2',
    500: '#904bbe',
    950: '#000000',
  },
}
SCSS
$custom: #904bbe;
$custom-light: #b481d2;
$custom-dark: #000000;
JSON
{
  "hex": "#904bbe",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 276,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.17901,
    "h": 309.4
  },
  "luminance": 0.14679
}

Semantic roles & 50–950 ramp

primary
#904BBE
secondary
#ADCC99
accent
#D75187
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #904BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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