#904BCE#904BCE

#904BCE is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.197 H 305.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#904BCE
RGBrgb(144, 75, 206)
HSLhsl(272, 57%, 55%)
HSVhsv(272, 64%, 81%)
CMYKcmyk(30.1%, 63.6%, 0%, 19.2%)
CIE-LABlab(46.20, 52.91, -56.75)
CIE-LCHlch(46.20, 77.59, 313.00°)
OKLaboklab(55.92% 0.113 -0.1608)
OKLCHoklch(55.92% 0.197 305.1)
XYZxyz(25.1558, 15.4178, 60.0312)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BCE #89CE4B
analogous
#4E4BCE #904BCE #CE4BCA
triadic
#904BCE #CE904B #4BCE90
tetradic
#904BCE #CE4E4B #89CE4B #4BCACE
square
#904BCE #CE4E4B #89CE4B #4BCACE
split-complementary
#904BCE #CACE4B #4BCE4E
monochromatic
#52227D #712FAD #904BCE #AE7BDB #CBABE8

Accessibility & contrast

On white

5.14
#904BCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#904BCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BCE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BCE#FFFFFF#000000##FFFFFF
##904BCE1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#296ECB
Tritanopia (blue-blind)
#856786
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904bce;
/* rgb */ color: rgb(144, 75, 206);
/* oklch */ color: oklch(55.9% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#b581de',
    500: '#904bce',
    950: '#000000',
  },
}
SCSS
$custom: #904bce;
$custom-light: #b581de;
$custom-dark: #000000;
JSON
{
  "hex": "#904bce",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 206
  },
  "hsl": {
    "h": 271.603,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.55916,
    "c": 0.1965,
    "h": 305.1
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#904BCE
secondary
#B9D69F
accent
#E04790
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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