#904BCD#904BCD

#904BCD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.195 H 305.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#904BCD
RGBrgb(144, 75, 205)
HSLhsl(272, 57%, 55%)
HSVhsv(272, 63%, 80%)
CMYKcmyk(29.8%, 63.4%, 0%, 19.6%)
CIE-LABlab(46.14, 52.68, -56.28)
CIE-LCHlch(46.14, 77.09, 313.11°)
OKLaboklab(55.85% 0.113 -0.1594)
OKLCHoklch(55.85% 0.195 305.3)
XYZxyz(25.0347, 15.3694, 59.3935)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BCD #88CD4B
analogous
#4F4BCD #904BCD #CD4BC9
triadic
#904BCD #CD904B #4BCD90
tetradic
#904BCD #CD4F4B #88CD4B #4BC9CD
square
#904BCD #CD4F4B #88CD4B #4BC9CD
split-complementary
#904BCD #C9CD4B #4BCD4F
monochromatic
#52227B #7130AB #904BCD #AE7BDA #CBABE8

Accessibility & contrast

On white

5.15
#904BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#904BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BCD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BCD#FFFFFF#000000##FFFFFF
##904BCD1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#2B6DCA
Tritanopia (blue-blind)
#856685
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904bcd;
/* rgb */ color: rgb(144, 75, 205);
/* oklch */ color: oklch(55.8% 0.195 305.3);
Tailwind
colors: {
  custom: {
    50: '#b581dd',
    500: '#904bcd',
    950: '#000000',
  },
}
SCSS
$custom: #904bcd;
$custom-light: #b581dd;
$custom-dark: #000000;
JSON
{
  "hex": "#904bcd",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 271.846,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.55848,
    "c": 0.19541,
    "h": 305.3
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#904BCD
secondary
#B8D59F
accent
#E0488F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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