#902AC1#902AC1

#902AC1 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.223 H 311.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#902AC1
RGBrgb(144, 42, 193)
HSLhsl(281, 64%, 46%)
HSVhsv(281, 78%, 76%)
CMYKcmyk(25.4%, 78.2%, 0%, 24.3%)
CIE-LABlab(40.31, 64.08, -58.74)
CIE-LCHlch(40.31, 86.93, 317.49°)
OKLaboklab(51.43% 0.1478 -0.1664)
OKLCHoklch(51.43% 0.223 311.6)
XYZxyz(21.9534, 11.4361, 51.4927)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AC1 #5BC12A
analogous
#452AC1 #902AC1 #C12AA6
triadic
#902AC1 #C1902A #2AC190
tetradic
#902AC1 #C1452A #5BC12A #2AA6C1
square
#902AC1 #C1452A #5BC12A #2AA6C1
split-complementary
#902AC1 #A6C12A #2AC145
monochromatic
#45145C #6A1F8F #902AC1 #AC4FD9 #C482E4

Accessibility & contrast

On white

6.39
#902AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#902AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AC1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AC1#FFFFFF#000000##FFFFFF
##902AC11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0361BE
Tritanopia (blue-blind)
#8A4F75
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902ac1;
/* rgb */ color: rgb(144, 42, 193);
/* oklch */ color: oklch(51.4% 0.223 311.6);
Tailwind
colors: {
  custom: {
    50: '#b670d5',
    500: '#902ac1',
    950: '#000000',
  },
}
SCSS
$custom: #902ac1;
$custom-light: #b670d5;
$custom-dark: #000000;
JSON
{
  "hex": "#902ac1",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 280.53,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51431,
    "c": 0.22257,
    "h": 311.6
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#902AC1
secondary
#95CD7A
accent
#E74177
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902AC1

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

Preview Lab → · Contrast checker → · Palette generator →

#902AC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva