#904FD5#904FD5

#904FD5 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.199 H 302.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#904FD5
RGBrgb(144, 79, 213)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 63%, 84%)
CMYKcmyk(32.4%, 62.9%, 0%, 16.5%)
CIE-LABlab(47.40, 52.57, -58.84)
CIE-LCHlch(47.40, 78.90, 311.78°)
OKLaboklab(56.93% 0.1079 -0.1669)
OKLCHoklch(56.93% 0.199 302.9)
XYZxyz(26.3050, 16.3253, 64.7032)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FD5 #94D54F
analogous
#4F51D5 #904FD5 #D34FD5
triadic
#904FD5 #D5904F #4FD590
tetradic
#904FD5 #D54F51 #94D54F #4FD5D3
square
#904FD5 #D54F51 #94D54F #4FD5D3
split-complementary
#904FD5 #D5D34F #51D54F
monochromatic
#532189 #712CBA #904FD5 #AF80E1 #CEB2ED

Accessibility & contrast

On white

4.92
#904FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #904FD5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FD5#FFFFFF#000000##FFFFFF
##904FD51.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2470D2
Tritanopia (blue-blind)
#836C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #904fd5;
/* rgb */ color: rgb(144, 79, 213);
/* oklch */ color: oklch(56.9% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#b584e3',
    500: '#904fd5',
    950: '#000000',
  },
}
SCSS
$custom: #904fd5;
$custom-light: #b584e3;
$custom-dark: #000000;
JSON
{
  "hex": "#904fd5",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 269.104,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56928,
    "c": 0.19876,
    "h": 302.9
  },
  "luminance": 0.16325
}

Semantic roles & 50–950 ramp

primary
#904FD5
secondary
#C1DBA5
accent
#E54396
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #904FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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