#902A87#902A87

#902A87 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.173 H 331.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#902A87
RGBrgb(144, 42, 135)
HSLhsl(305, 55%, 36%)
HSVhsv(305, 71%, 56%)
CMYKcmyk(0%, 70.8%, 6.2%, 43.5%)
CIE-LABlab(36.62, 53.24, -29.81)
CIE-LCHlch(36.62, 61.02, 330.75°)
OKLaboklab(47.64% 0.1523 -0.0819)
OKLCHoklch(47.64% 0.173 331.7)
XYZxyz(16.7027, 9.3358, 23.8393)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A87 #2A9033
analogous
#662A90 #902A87 #902A54
triadic
#902A87 #87902A #2A8790
tetradic
#902A87 #90662A #2A9033 #2A5490
square
#902A87 #90662A #2A9033 #2A5490
split-complementary
#902A87 #54902A #2A9066
monochromatic
#310E2E #611C5B #902A87 #BF38B3 #D163C8

Accessibility & contrast

On white

7.33
#902A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#902A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A87
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A87#FFFFFF#000000##FFFFFF
##902A871.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#963555
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a87;
/* rgb */ color: rgb(144, 42, 135);
/* oklch */ color: oklch(47.6% 0.173 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46daa',
    500: '#902a87',
    950: '#000000',
  },
}
SCSS
$custom: #902a87;
$custom-light: #b46daa;
$custom-dark: #000000;
JSON
{
  "hex": "#902a87",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 135
  },
  "hsl": {
    "h": 305.294,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.17297,
    "h": 331.7
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#902A87
secondary
#5EB766
accent
#DE574A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A87

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

Preview Lab → · Contrast checker → · Palette generator →

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