#904BD7#904BD7

#904BD7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.206 H 303.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#904BD7
RGBrgb(144, 75, 215)
HSLhsl(270, 64%, 57%)
HSVhsv(270, 65%, 84%)
CMYKcmyk(33%, 65.1%, 0%, 15.7%)
CIE-LABlab(46.80, 55.05, -60.95)
CIE-LCHlch(46.80, 82.13, 312.09°)
OKLaboklab(56.54% 0.1123 -0.1731)
OKLCHoklch(56.54% 0.206 303)
XYZxyz(26.2806, 15.8677, 65.9550)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD7 #92D74B
analogous
#4B4CD7 #904BD7 #D64BD7
triadic
#904BD7 #D7904B #4BD790
tetradic
#904BD7 #D74B4C #92D74B #4BD7D6
square
#904BD7 #D74B4C #92D74B #4BD7D6
split-complementary
#904BD7 #D7D64B #4CD74B
monochromatic
#531E89 #712ABB #904BD7 #AF7DE2 #CEAFED

Accessibility & contrast

On white

5.03
#904BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#904BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD7#FFFFFF#000000##FFFFFF
##904BD71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#826A8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bd7;
/* rgb */ color: rgb(144, 75, 215);
/* oklch */ color: oklch(56.5% 0.206 303.0);
Tailwind
colors: {
  custom: {
    50: '#b581e4',
    500: '#904bd7',
    950: '#000000',
  },
}
SCSS
$custom: #904bd7;
$custom-light: #b581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd7",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 269.571,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.20631,
    "h": 303
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#904BD7
secondary
#BFDBA2
accent
#E74195
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #904BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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