#904CDD#904CDD

#904CDD is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.212 H 301.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#904CDD
RGBrgb(144, 76, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(34.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(47.39, 56.00, -63.41)
CIE-LCHlch(47.39, 84.60, 311.45°)
OKLaboklab(57.09% 0.1106 -0.1804)
OKLCHoklch(57.09% 0.212 301.5)
XYZxyz(27.1341, 16.3185, 70.1129)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904CDD #99DD4C
analogous
#4C50DD #904CDD #D84CDD
triadic
#904CDD #DD904C #4CDD90
tetradic
#904CDD #DD4C50 #99DD4C #4CDDD8
square
#904CDD #DD4C50 #99DD4C #4CDDD8
split-complementary
#904CDD #DDD84C #50DD4C
monochromatic
#541C93 #7126C6 #904CDD #B07FE7 #D0B3F1

Accessibility & contrast

On white

4.93
#904CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#904CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904CDD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904CDD#FFFFFF#000000##FFFFFF
##904CDD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#806D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904cdd;
/* rgb */ color: rgb(144, 76, 221);
/* oklch */ color: oklch(57.1% 0.212 301.5);
Tailwind
colors: {
  custom: {
    50: '#b682e8',
    500: '#904cdd',
    950: '#000000',
  },
}
SCSS
$custom: #904cdd;
$custom-light: #b682e8;
$custom-dark: #000000;
JSON
{
  "hex": "#904cdd",
  "rgb": {
    "r": 144,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 268.138,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57093,
    "c": 0.21154,
    "h": 301.5
  },
  "luminance": 0.16319
}

Semantic roles & 50–950 ramp

primary
#904CDD
secondary
#C4DFA6
accent
#EB3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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