#904BD0#904BD0

#904BD0 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.1% C 0.199 H 304.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#904BD0
RGBrgb(144, 75, 208)
HSLhsl(271, 59%, 55%)
HSVhsv(271, 64%, 82%)
CMYKcmyk(30.8%, 63.9%, 0%, 18.4%)
CIE-LABlab(46.33, 53.39, -57.69)
CIE-LCHlch(46.33, 78.60, 312.78°)
OKLaboklab(56.05% 0.1128 -0.1635)
OKLCHoklch(56.05% 0.199 304.6)
XYZxyz(25.4003, 15.5156, 61.3190)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BD0 #8BD04B
analogous
#4D4BD0 #904BD0 #D04BCD
triadic
#904BD0 #D0904B #4BD090
tetradic
#904BD0 #D04D4B #8BD04B #4BCDD0
square
#904BD0 #D04D4B #8BD04B #4BCDD0
split-complementary
#904BD0 #CDD04B #4BD04D
monochromatic
#52217F #712EB0 #904BD0 #AE7CDD #CCACE9

Accessibility & contrast

On white

5.12
#904BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#904BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BD0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BD0#FFFFFF#000000##FFFFFF
##904BD01.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#266ECD
Tritanopia (blue-blind)
#846787
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #904bd0;
/* rgb */ color: rgb(144, 75, 208);
/* oklch */ color: oklch(56.1% 0.199 304.6);
Tailwind
colors: {
  custom: {
    50: '#b581df',
    500: '#904bd0',
    950: '#000000',
  },
}
SCSS
$custom: #904bd0;
$custom-light: #b581df;
$custom-dark: #000000;
JSON
{
  "hex": "#904bd0",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 271.128,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56053,
    "c": 0.19868,
    "h": 304.6
  },
  "luminance": 0.15516
}

Semantic roles & 50–950 ramp

primary
#904BD0
secondary
#BAD7A0
accent
#E24691
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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