#904BCA#904BCA

#904BCA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.6% C 0.192 H 306.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#904BCA
RGBrgb(144, 75, 202)
HSLhsl(273, 55%, 54%)
HSVhsv(273, 63%, 79%)
CMYKcmyk(28.7%, 62.9%, 0%, 20.8%)
CIE-LABlab(45.94, 51.98, -54.87)
CIE-LCHlch(45.94, 75.58, 313.45°)
OKLaboklab(55.65% 0.1132 -0.1552)
OKLCHoklch(55.65% 0.192 306.1)
XYZxyz(24.6761, 15.2259, 57.5046)
Luminance0.1523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BCA #85CA4B
analogous
#514BCA #904BCA #CA4BC5
triadic
#904BCA #CA904B #4BCA90
tetradic
#904BCA #CA514B #85CA4B #4BC5CA
square
#904BCA #CA514B #85CA4B #4BC5CA
split-complementary
#904BCA #C5CA4B #4BCA51
monochromatic
#512377 #7131A7 #904BCA #AD7AD8 #CAAAE6

Accessibility & contrast

On white

5.19
#904BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#904BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BCA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BCA#FFFFFF#000000##FFFFFF
##904BCA1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#866584
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #904bca;
/* rgb */ color: rgb(144, 75, 202);
/* oklch */ color: oklch(55.6% 0.192 306.1);
Tailwind
colors: {
  custom: {
    50: '#b481db',
    500: '#904bca',
    950: '#000000',
  },
}
SCSS
$custom: #904bca;
$custom-light: #b481db;
$custom-dark: #000000;
JSON
{
  "hex": "#904bca",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 272.598,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55646,
    "c": 0.19213,
    "h": 306.1
  },
  "luminance": 0.15226
}

Semantic roles & 50–950 ramp

primary
#904BCA
secondary
#B6D39D
accent
#DE4A8D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #904BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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