#903ACC#903ACC

#903ACC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.216 H 307.5°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#903ACC
RGBrgb(144, 58, 204)
HSLhsl(275, 59%, 51%)
HSVhsv(275, 72%, 80%)
CMYKcmyk(29.4%, 71.6%, 0%, 20%)
CIE-LABlab(43.23, 60.32, -60.39)
CIE-LCHlch(43.23, 85.36, 314.96°)
OKLaboklab(53.75% 0.1314 -0.1714)
OKLCHoklch(53.75% 0.216 307.5)
XYZxyz(23.9114, 13.3154, 58.4255)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903ACC #76CC3A
analogous
#473ACC #903ACC #CC3ABF
triadic
#903ACC #CC903A #3ACC90
tetradic
#903ACC #CC473A #76CC3A #3ABFCC
square
#903ACC #CC473A #76CC3A #3ABFCC
split-complementary
#903ACC #BFCC3A #3ACC47
monochromatic
#4D1D6F #6F29A0 #903ACC #AB6BD9 #C79BE5

Accessibility & contrast

On white

5.73
#903ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#903ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903ACC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903ACC#FFFFFF#000000##FFFFFF
##903ACC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0467C9
Tritanopia (blue-blind)
#865C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #903acc;
/* rgb */ color: rgb(144, 58, 204);
/* oklch */ color: oklch(53.7% 0.216 307.5);
Tailwind
colors: {
  custom: {
    50: '#b578dc',
    500: '#903acc',
    950: '#000000',
  },
}
SCSS
$custom: #903acc;
$custom-light: #b578dc;
$custom-dark: #000000;
JSON
{
  "hex": "#903acc",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 204
  },
  "hsl": {
    "h": 275.342,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.21596,
    "h": 307.5
  },
  "luminance": 0.13315
}

Semantic roles & 50–950 ramp

primary
#903ACC
secondary
#ABD191
accent
#E24686
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #903ACC

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

Preview Lab → · Contrast checker → · Palette generator →

#903ACC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva