#904BD9#904BD9

#904BD9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.208 H 302.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#904BD9
RGBrgb(144, 75, 217)
HSLhsl(269, 65%, 57%)
HSVhsv(269, 65%, 85%)
CMYKcmyk(33.6%, 65.4%, 0%, 14.9%)
CIE-LABlab(46.94, 55.52, -61.87)
CIE-LCHlch(46.94, 83.13, 311.91°)
OKLaboklab(56.68% 0.1121 -0.1758)
OKLCHoklch(56.68% 0.208 302.5)
XYZxyz(26.5391, 15.9712, 67.3168)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD9 #94D94B
analogous
#4B4DD9 #904BD9 #D74BD9
triadic
#904BD9 #D9904B #4BD990
tetradic
#904BD9 #D94B4D #94D94B #4BD9D7
square
#904BD9 #D94B4D #94D94B #4BD9D7
split-complementary
#904BD9 #D9D74B #4DD94B
monochromatic
#531E8C #7128BF #904BD9 #AF7EE4 #CEB0EE

Accessibility & contrast

On white

5.01
#904BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#904BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD9#FFFFFF#000000##FFFFFF
##904BD91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0F6FD6
Tritanopia (blue-blind)
#816B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bd9;
/* rgb */ color: rgb(144, 75, 217);
/* oklch */ color: oklch(56.7% 0.208 302.5);
Tailwind
colors: {
  custom: {
    50: '#b682e6',
    500: '#904bd9',
    950: '#000000',
  },
}
SCSS
$custom: #904bd9;
$custom-light: #b682e6;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd9",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 269.155,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5668,
    "c": 0.20848,
    "h": 302.5
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#904BD9
secondary
#C1DDA3
accent
#E84096
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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