#904BCC#904BCC

#904BCC is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.194 H 305.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#904BCC
RGBrgb(144, 75, 204)
HSLhsl(272, 56%, 55%)
HSVhsv(272, 63%, 80%)
CMYKcmyk(29.4%, 63.2%, 0%, 20%)
CIE-LABlab(46.07, 52.45, -55.81)
CIE-LCHlch(46.07, 76.59, 313.22°)
OKLaboklab(55.78% 0.1131 -0.158)
OKLCHoklch(55.78% 0.194 305.6)
XYZxyz(24.9144, 15.3213, 58.7598)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BCC #87CC4B
analogous
#504BCC #904BCC #CC4BC8
triadic
#904BCC #CC904B #4BCC90
tetradic
#904BCC #CC504B #87CC4B #4BC8CC
square
#904BCC #CC504B #87CC4B #4BC8CC
split-complementary
#904BCC #C8CC4B #4BCC50
monochromatic
#51237A #7130AA #904BCC #AD7BDA #CBAAE7

Accessibility & contrast

On white

5.17
#904BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#904BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BCC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BCC#FFFFFF#000000##FFFFFF
##904BCC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#866685
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904bcc;
/* rgb */ color: rgb(144, 75, 204);
/* oklch */ color: oklch(55.8% 0.194 305.6);
Tailwind
colors: {
  custom: {
    50: '#b581dc',
    500: '#904bcc',
    950: '#000000',
  },
}
SCSS
$custom: #904bcc;
$custom-light: #b581dc;
$custom-dark: #000000;
JSON
{
  "hex": "#904bcc",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 272.093,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.19432,
    "h": 305.6
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#904BCC
secondary
#B8D59E
accent
#DF498F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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