#902CAC#902CAC

#902CAC is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 317.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#902CAC
RGBrgb(144, 44, 172)
HSLhsl(287, 59%, 42%)
HSVhsv(287, 74%, 67%)
CMYKcmyk(16.3%, 74.4%, 0%, 32.5%)
CIE-LABlab(39.09, 59.19, -48.31)
CIE-LCHlch(39.09, 76.40, 320.78°)
OKLaboklab(50.11% 0.1494 -0.1358)
OKLCHoklch(50.11% 0.202 317.7)
XYZxyz(19.8476, 10.7101, 40.0435)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902CAC #48AC2C
analogous
#502CAC #902CAC #AC2C88
triadic
#902CAC #AC902C #2CAC90
tetradic
#902CAC #AC502C #48AC2C #2C88AC
square
#902CAC #AC502C #48AC2C #2C88AC
split-complementary
#902CAC #88AC2C #2CAC50
monochromatic
#3E134B #67207B #902CAC #B146D0 #C676DC

Accessibility & contrast

On white

6.68
#902CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#902CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902CAC
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902CAC#FFFFFF#000000##FFFFFF
##902CAC1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#8F476A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902cac;
/* rgb */ color: rgb(144, 44, 172);
/* oklch */ color: oklch(50.1% 0.202 317.7);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#902cac',
    950: '#000000',
  },
}
SCSS
$custom: #902cac;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#902cac",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 286.875,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50109,
    "c": 0.20188,
    "h": 317.7
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#902CAC
secondary
#82C470
accent
#E24568
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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