#902C8A#902C8A

#902C8A is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.0% C 0.173 H 330.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#902C8A
RGBrgb(144, 44, 138)
HSLhsl(304, 53%, 37%)
HSVhsv(304, 69%, 56%)
CMYKcmyk(0%, 69.4%, 4.2%, 43.5%)
CIE-LABlab(37.05, 52.98, -30.98)
CIE-LCHlch(37.05, 61.37, 329.68°)
OKLaboklab(48% 0.1503 -0.0853)
OKLCHoklch(48% 0.173 330.4)
XYZxyz(16.9897, 9.5669, 24.9916)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C8A #2C9032
analogous
#642C90 #902C8A #902C58
triadic
#902C8A #8A902C #2C8A90
tetradic
#902C8A #90642C #2C9032 #2C5890
square
#902C8A #90642C #2C9032 #2C5890
split-complementary
#902C8A #58902C #2C9064
monochromatic
#320F30 #611E5D #902C8A #BF3AB7 #D066CA

Accessibility & contrast

On white

7.21
#902C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#902C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C8A
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C8A#FFFFFF#000000##FFFFFF
##902C8A1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#963857
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902c8a;
/* rgb */ color: rgb(144, 44, 138);
/* oklch */ color: oklch(48.0% 0.173 330.4);
Tailwind
colors: {
  custom: {
    50: '#b46eac',
    500: '#902c8a',
    950: '#000000',
  },
}
SCSS
$custom: #902c8a;
$custom-light: #b46eac;
$custom-dark: #000000;
JSON
{
  "hex": "#902c8a",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 303.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.17285,
    "h": 330.4
  },
  "luminance": 0.09566
}

Semantic roles & 50–950 ramp

primary
#902C8A
secondary
#61B766
accent
#DD544B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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