#904BD3#904BD3

#904BD3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.202 H 303.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#904BD3
RGBrgb(144, 75, 211)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(31.8%, 64.5%, 0%, 17.3%)
CIE-LABlab(46.53, 54.09, -59.09)
CIE-LCHlch(46.53, 80.11, 312.47°)
OKLaboklab(56.26% 0.1126 -0.1676)
OKLCHoklch(56.26% 0.202 303.9)
XYZxyz(25.7729, 15.6647, 63.2812)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD3 #8ED34B
analogous
#4C4BD3 #904BD3 #D34BD2
triadic
#904BD3 #D3904B #4BD390
tetradic
#904BD3 #D34C4B #8ED34B #4BD2D3
square
#904BD3 #D34C4B #8ED34B #4BD2D3
split-complementary
#904BD3 #D2D34B #4BD34C
monochromatic
#532083 #712CB5 #904BD3 #AE7CDF #CDADEB

Accessibility & contrast

On white

5.08
#904BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#904BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD3#FFFFFF#000000##FFFFFF
##904BD31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#836888
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #904bd3;
/* rgb */ color: rgb(144, 75, 211);
/* oklch */ color: oklch(56.3% 0.202 303.9);
Tailwind
colors: {
  custom: {
    50: '#b581e1',
    500: '#904bd3',
    950: '#000000',
  },
}
SCSS
$custom: #904bd3;
$custom-light: #b581e1;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd3",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 270.441,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5626,
    "c": 0.20195,
    "h": 303.9
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#904BD3
secondary
#BCD9A1
accent
#E44493
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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