#903AC2#903AC2

#903AC2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.206 H 310.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#903AC2
RGBrgb(144, 58, 194)
HSLhsl(278, 54%, 49%)
HSVhsv(278, 70%, 76%)
CMYKcmyk(25.8%, 70.1%, 0%, 23.9%)
CIE-LABlab(42.54, 58.13, -55.71)
CIE-LCHlch(42.54, 80.52, 316.22°)
OKLaboklab(53.03% 0.1328 -0.1576)
OKLCHoklch(53.03% 0.206 310.1)
XYZxyz(22.7504, 12.8509, 52.3105)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#903AC2 #6CC23A
analogous
#4C3AC2 #903AC2 #C23AB0
triadic
#903AC2 #C2903A #3AC290
tetradic
#903AC2 #C24C3A #6CC23A #3AB0C2
square
#903AC2 #C24C3A #6CC23A #3AB0C2
split-complementary
#903AC2 #B0C23A #3AC24C
monochromatic
#4A1E64 #6D2C93 #903AC2 #AB67D2 #C597E0

Accessibility & contrast

On white

5.88
#903AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#903AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #903AC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##903AC2#FFFFFF#000000##FFFFFF
##903AC21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2266BF
Tritanopia (blue-blind)
#89587A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #903ac2;
/* rgb */ color: rgb(144, 58, 194);
/* oklch */ color: oklch(53.0% 0.206 310.1);
Tailwind
colors: {
  custom: {
    50: '#b577d5',
    500: '#903ac2',
    950: '#000000',
  },
}
SCSS
$custom: #903ac2;
$custom-light: #b577d5;
$custom-dark: #000000;
JSON
{
  "hex": "#903ac2",
  "rgb": {
    "r": 144,
    "g": 58,
    "b": 194
  },
  "hsl": {
    "h": 277.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.20612,
    "h": 310.1
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#903AC2
secondary
#A4CB8D
accent
#DD4A80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #903AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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