#902A97#902A97

#902A97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.186 H 325.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#902A97
RGBrgb(144, 42, 151)
HSLhsl(296, 56%, 38%)
HSVhsv(296, 72%, 59%)
CMYKcmyk(4.6%, 72.2%, 0%, 40.8%)
CIE-LABlab(37.52, 56.00, -38.19)
CIE-LCHlch(37.52, 67.78, 325.70°)
OKLaboklab(48.57% 0.1527 -0.1062)
OKLCHoklch(48.57% 0.186 325.2)
XYZxyz(17.9151, 9.8207, 30.2241)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A97 #31972A
analogous
#5A2A97 #902A97 #972A67
triadic
#902A97 #97902A #2A9790
tetradic
#902A97 #975A2A #31972A #2A6797
square
#902A97 #975A2A #31972A #2A6797
split-complementary
#902A97 #67972A #2A975A
monochromatic
#350F37 #621D67 #902A97 #BE37C7 #CE67D5

Accessibility & contrast

On white

7.09
#902A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#902A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A97
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A97#FFFFFF#000000##FFFFFF
##902A971.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#405D94
Tritanopia (blue-blind)
#933C5E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902a97;
/* rgb */ color: rgb(144, 42, 151);
/* oklch */ color: oklch(48.6% 0.186 325.2);
Tailwind
colors: {
  custom: {
    50: '#b46eb6',
    500: '#902a97',
    950: '#000000',
  },
}
SCSS
$custom: #902a97;
$custom-light: #b46eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#902a97",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 296.147,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4857,
    "c": 0.18603,
    "h": 325.2
  },
  "luminance": 0.0982
}

Semantic roles & 50–950 ramp

primary
#902A97
secondary
#68BB62
accent
#E04852
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902A97

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

Preview Lab → · Contrast checker → · Palette generator →

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