#904DD3#904DD3

#904DD3 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.5% C 0.199 H 303.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#904DD3
RGBrgb(144, 77, 211)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(31.8%, 63.5%, 0%, 17.3%)
CIE-LABlab(46.90, 53.10, -58.50)
CIE-LCHlch(46.90, 79.01, 312.23°)
OKLaboklab(56.52% 0.1103 -0.1659)
OKLCHoklch(56.52% 0.199 303.6)
XYZxyz(25.9107, 15.9402, 63.3271)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904DD3 #90D34D
analogous
#4D4DD3 #904DD3 #D34DD3
triadic
#904DD3 #D3904D #4DD390
tetradic
#904DD3 #D34D4D #90D34D #4DD3D3
square
#904DD3 #D34D4D #90D34D #4DD3D3
split-complementary
#904DD3 #D3D34D #4DD34D
monochromatic
#532185 #712DB6 #904DD3 #AF7EDF #CDAFEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##904DD3#FFFFFF#000000##FFFFFF
##904DD31.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)
#006ED7
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#836A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904dd3;
/* rgb */ color: rgb(144, 77, 211);
/* oklch */ color: oklch(56.5% 0.199 303.6);
Tailwind
colors: {
  custom: {
    50: '#b583e1',
    500: '#904dd3',
    950: '#000000',
  },
}
SCSS
$custom: #904dd3;
$custom-light: #b583e1;
$custom-dark: #000000;
JSON
{
  "hex": "#904dd3",
  "rgb": {
    "r": 144,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 270,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56523,
    "c": 0.19927,
    "h": 303.6
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#904DD3
secondary
#BED9A2
accent
#E44494
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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