#904DBE#904DBE

#904DBE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.1% C 0.176 H 309.1°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#904DBE
RGBrgb(144, 77, 190)
HSLhsl(276, 47%, 52%)
HSVhsv(276, 59%, 75%)
CMYKcmyk(24.2%, 59.5%, 0%, 25.5%)
CIE-LABlab(45.57, 48.19, -48.51)
CIE-LCHlch(45.57, 68.37, 314.81°)
OKLaboklab(55.14% 0.1111 -0.1366)
OKLCHoklch(55.14% 0.176 309.1)
XYZxyz(23.4479, 14.9551, 50.3566)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904DBE #7BBE4D
analogous
#574DBE #904DBE #BE4DB4
triadic
#904DBE #BE904D #4DBE90
tetradic
#904DBE #BE574D #7BBE4D #4DB4BE
square
#904DBE #BE574D #7BBE4D #4DB4BE
split-complementary
#904DBE #B4BE4D #4DBE57
monochromatic
#4F276A #703797 #904DBE #AC7ACE #C8A7DF

Accessibility & contrast

On white

5.26
#904DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#904DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904DBE
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904DBE#FFFFFF#000000##FFFFFF
##904DBE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#3E6DBB
Tritanopia (blue-blind)
#8A627E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #904dbe;
/* rgb */ color: rgb(144, 77, 190);
/* oklch */ color: oklch(55.1% 0.176 309.1);
Tailwind
colors: {
  custom: {
    50: '#b482d2',
    500: '#904dbe',
    950: '#000000',
  },
}
SCSS
$custom: #904dbe;
$custom-light: #b482d2;
$custom-dark: #000000;
JSON
{
  "hex": "#904dbe",
  "rgb": {
    "r": 144,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 275.575,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55139,
    "c": 0.17605,
    "h": 309.1
  },
  "luminance": 0.14955
}

Semantic roles & 50–950 ramp

primary
#904DBE
secondary
#AFCC9B
accent
#D65288
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #904DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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