#904FD7#904FD7

#904FD7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.201 H 302.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#904FD7
RGBrgb(144, 79, 215)
HSLhsl(269, 63%, 58%)
HSVhsv(269, 63%, 84%)
CMYKcmyk(33%, 63.3%, 0%, 15.7%)
CIE-LABlab(47.53, 53.05, -59.77)
CIE-LCHlch(47.53, 79.92, 311.59°)
OKLaboklab(57.07% 0.1078 -0.1696)
OKLCHoklch(57.07% 0.201 302.4)
XYZxyz(26.5605, 16.4275, 66.0483)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904FD7 #96D74F
analogous
#4F52D7 #904FD7 #D44FD7
triadic
#904FD7 #D7904F #4FD790
tetradic
#904FD7 #D74F52 #96D74F #4FD7D4
square
#904FD7 #D74F52 #96D74F #4FD7D4
split-complementary
#904FD7 #D7D44F #52D74F
monochromatic
#53208C #712BBE #904FD7 #AF81E2 #CFB3EE

Accessibility & contrast

On white

4.90
#904FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#904FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904FD7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904FD7#FFFFFF#000000##FFFFFF
##904FD71.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#2070D4
Tritanopia (blue-blind)
#826C8C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #904fd7;
/* rgb */ color: rgb(144, 79, 215);
/* oklch */ color: oklch(57.1% 0.201 302.4);
Tailwind
colors: {
  custom: {
    50: '#b584e4',
    500: '#904fd7',
    950: '#000000',
  },
}
SCSS
$custom: #904fd7;
$custom-light: #b584e4;
$custom-dark: #000000;
JSON
{
  "hex": "#904fd7",
  "rgb": {
    "r": 144,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 268.676,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57066,
    "c": 0.20099,
    "h": 302.4
  },
  "luminance": 0.16428
}

Semantic roles & 50–950 ramp

primary
#904FD7
secondary
#C2DCA6
accent
#E64298
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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