#904BC8#904BC8

#904BC8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.190 H 306.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#904BC8
RGBrgb(144, 75, 200)
HSLhsl(273, 53%, 54%)
HSVhsv(273, 63%, 78%)
CMYKcmyk(28%, 62.5%, 0%, 21.6%)
CIE-LABlab(45.81, 51.51, -53.92)
CIE-LCHlch(45.81, 74.57, 313.69°)
OKLaboklab(55.51% 0.1133 -0.1524)
OKLCHoklch(55.51% 0.19 306.6)
XYZxyz(24.4408, 15.1318, 56.2656)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#904BC8 #83C84B
analogous
#524BC8 #904BC8 #C84BC2
triadic
#904BC8 #C8904B #4BC890
tetradic
#904BC8 #C8524B #83C84B #4BC2C8
square
#904BC8 #C8524B #83C84B #4BC2C8
split-complementary
#904BC8 #C2C84B #4BC852
monochromatic
#512475 #7132A4 #904BC8 #AD7AD6 #CAA9E5

Accessibility & contrast

On white

5.22
#904BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#904BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #904BC8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##904BC8#FFFFFF#000000##FFFFFF
##904BC81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#876583
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #904bc8;
/* rgb */ color: rgb(144, 75, 200);
/* oklch */ color: oklch(55.5% 0.190 306.6);
Tailwind
colors: {
  custom: {
    50: '#b481d9',
    500: '#904bc8',
    950: '#000000',
  },
}
SCSS
$custom: #904bc8;
$custom-light: #b481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#904bc8",
  "rgb": {
    "r": 144,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 273.12,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55513,
    "c": 0.18995,
    "h": 306.6
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#904BC8
secondary
#B5D29D
accent
#DD4B8C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #904BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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