#904BD6#904BD6

#904BD6 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.205 H 303.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#904BD6
RGBrgb(144, 75, 214)
HSLhsl(270, 63%, 57%)
HSVhsv(270, 65%, 84%)
CMYKcmyk(32.7%, 65%, 0%, 16.1%)
CIE-LABlab(46.73, 54.81, -60.48)
CIE-LCHlch(46.73, 81.62, 312.18°)
OKLaboklab(56.47% 0.1123 -0.1717)
OKLCHoklch(56.47% 0.205 303.2)
XYZxyz(26.1525, 15.8165, 65.2804)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD6 #91D64B
analogous
#4B4CD6 #904BD6 #D54BD6
triadic
#904BD6 #D6904B #4BD690
tetradic
#904BD6 #D64B4C #91D64B #4BD6D5
square
#904BD6 #D64B4C #91D64B #4BD6D5
split-complementary
#904BD6 #D6D54B #4CD64B
monochromatic
#531F88 #712ABA #904BD6 #AF7DE1 #CDAFED

Accessibility & contrast

On white

5.04
#904BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#904BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD6
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD6#FFFFFF#000000##FFFFFF
##904BD61.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#196ED3
Tritanopia (blue-blind)
#826A8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bd6;
/* rgb */ color: rgb(144, 75, 214);
/* oklch */ color: oklch(56.5% 0.205 303.2);
Tailwind
colors: {
  custom: {
    50: '#b581e3',
    500: '#904bd6',
    950: '#000000',
  },
}
SCSS
$custom: #904bd6;
$custom-light: #b581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd6",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 269.784,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56469,
    "c": 0.20522,
    "h": 303.2
  },
  "luminance": 0.15816
}

Semantic roles & 50–950 ramp

primary
#904BD6
secondary
#BFDBA2
accent
#E64294
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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