#904BD8#904BD8

#904BD8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.207 H 302.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#904BD8
RGBrgb(144, 75, 216)
HSLhsl(269, 64%, 57%)
HSVhsv(269, 65%, 85%)
CMYKcmyk(33.3%, 65.3%, 0%, 15.3%)
CIE-LABlab(46.87, 55.29, -61.41)
CIE-LCHlch(46.87, 82.63, 312.00°)
OKLaboklab(56.61% 0.1122 -0.1744)
OKLCHoklch(56.61% 0.207 302.7)
XYZxyz(26.4095, 15.9193, 66.6338)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD8 #93D84B
analogous
#4B4CD8 #904BD8 #D74BD8
triadic
#904BD8 #D8904B #4BD890
tetradic
#904BD8 #D84B4C #93D84B #4BD8D7
square
#904BD8 #D84B4C #93D84B #4BD8D7
split-complementary
#904BD8 #D8D74B #4CD84B
monochromatic
#531E8B #7129BD #904BD8 #AF7DE3 #CEB0EE

Accessibility & contrast

On white

5.02
#904BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#904BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD8#FFFFFF#000000##FFFFFF
##904BD81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#826A8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bd8;
/* rgb */ color: rgb(144, 75, 216);
/* oklch */ color: oklch(56.6% 0.207 302.7);
Tailwind
colors: {
  custom: {
    50: '#b581e5',
    500: '#904bd8',
    950: '#000000',
  },
}
SCSS
$custom: #904bd8;
$custom-light: #b581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd8",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 269.362,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56609,
    "c": 0.20739,
    "h": 302.7
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#904BD8
secondary
#C0DCA3
accent
#E74096
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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