#904DE3#904DE3

#904DE3 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.7% C 0.217 H 300.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#904DE3
RGBrgb(144, 77, 227)
HSLhsl(267, 73%, 60%)
HSVhsv(267, 66%, 89%)
CMYKcmyk(36.6%, 66.1%, 0%, 11%)
CIE-LABlab(47.99, 56.96, -65.85)
CIE-LCHlch(47.99, 87.07, 310.86°)
OKLaboklab(57.65% 0.1088 -0.1875)
OKLCHoklch(57.65% 0.217 300.1)
XYZxyz(28.0172, 16.7829, 74.4215)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904DE3 #A0E34D
analogous
#4D55E3 #904DE3 #DB4DE3
triadic
#904DE3 #E3904D #4DE390
tetradic
#904DE3 #E34D55 #A0E34D #4DE3DB
square
#904DE3 #E34D55 #A0E34D #4DE3DB
split-complementary
#904DE3 #E3DB4D #55E34D
monochromatic
#54199D #7021D2 #904DE3 #B182EB #D2B7F4

Accessibility & contrast

On white

4.82
#904DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#904DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904DE3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904DE3#FFFFFF#000000##FFFFFF
##904DE31.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#0071E0
Tritanopia (blue-blind)
#7E7092
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #904de3;
/* rgb */ color: rgb(144, 77, 227);
/* oklch */ color: oklch(57.7% 0.217 300.1);
Tailwind
colors: {
  custom: {
    50: '#b683ed',
    500: '#904de3',
    950: '#000000',
  },
}
SCSS
$custom: #904de3;
$custom-light: #b683ed;
$custom-dark: #000000;
JSON
{
  "hex": "#904de3",
  "rgb": {
    "r": 144,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 266.8,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57652,
    "c": 0.21682,
    "h": 300.1
  },
  "luminance": 0.16783
}

Semantic roles & 50–950 ramp

primary
#904DE3
secondary
#C9E3A9
accent
#F0389E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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