#904DD6#904DD6

#904DD6 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.203 H 302.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#904DD6
RGBrgb(144, 77, 214)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(32.7%, 64%, 0%, 16.1%)
CIE-LABlab(47.10, 53.82, -59.90)
CIE-LCHlch(47.10, 80.52, 311.94°)
OKLaboklab(56.73% 0.1101 -0.17)
OKLCHoklch(56.73% 0.203 302.9)
XYZxyz(26.2903, 16.0921, 65.3263)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904DD6 #93D64D
analogous
#4D4FD6 #904DD6 #D44DD6
triadic
#904DD6 #D6904D #4DD690
tetradic
#904DD6 #D64D4F #93D64D #4DD6D4
square
#904DD6 #D64D4F #93D64D #4DD6D4
split-complementary
#904DD6 #D6D44D #4FD64D
monochromatic
#532089 #712BBB #904DD6 #AF7FE1 #CEB0ED

Accessibility & contrast

On white

4.98
#904DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#904DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904DD6
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904DD6#FFFFFF#000000##FFFFFF
##904DD61.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#1E6FD3
Tritanopia (blue-blind)
#826B8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904dd6;
/* rgb */ color: rgb(144, 77, 214);
/* oklch */ color: oklch(56.7% 0.203 302.9);
Tailwind
colors: {
  custom: {
    50: '#b583e3',
    500: '#904dd6',
    950: '#000000',
  },
}
SCSS
$custom: #904dd6;
$custom-light: #b583e3;
$custom-dark: #000000;
JSON
{
  "hex": "#904dd6",
  "rgb": {
    "r": 144,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 269.343,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5673,
    "c": 0.20257,
    "h": 302.9
  },
  "luminance": 0.16092
}

Semantic roles & 50–950 ramp

primary
#904DD6
secondary
#C0DBA4
accent
#E64296
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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