#904BD5#904BD5

#904BD5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.204 H 303.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#904BD5
RGBrgb(144, 75, 213)
HSLhsl(270, 62%, 56%)
HSVhsv(270, 65%, 84%)
CMYKcmyk(32.4%, 64.8%, 0%, 16.5%)
CIE-LABlab(46.67, 54.57, -60.02)
CIE-LCHlch(46.67, 81.12, 312.28°)
OKLaboklab(56.4% 0.1124 -0.1704)
OKLCHoklch(56.4% 0.204 303.4)
XYZxyz(26.0252, 15.7656, 64.6099)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD5 #90D54B
analogous
#4B4BD5 #904BD5 #D54BD5
triadic
#904BD5 #D5904B #4BD590
tetradic
#904BD5 #D54B4B #90D54B #4BD5D5
square
#904BD5 #D54B4B #90D54B #4BD5D5
split-complementary
#904BD5 #D5D54B #4BD54B
monochromatic
#531F86 #712BB8 #904BD5 #AF7DE1 #CDAEEC

Accessibility & contrast

On white

5.06
#904BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#904BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD5#FFFFFF#000000##FFFFFF
##904BD51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#83698A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #904bd5;
/* rgb */ color: rgb(144, 75, 213);
/* oklch */ color: oklch(56.4% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#b581e3',
    500: '#904bd5',
    950: '#000000',
  },
}
SCSS
$custom: #904bd5;
$custom-light: #b581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd5",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 270,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.20413,
    "h": 303.4
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#904BD5
secondary
#BEDAA2
accent
#E54394
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #904BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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