#902E81#902E81

#902E81 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.7% C 0.163 H 334.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#902E81
RGBrgb(144, 46, 129)
HSLhsl(309, 52%, 37%)
HSVhsv(309, 68%, 56%)
CMYKcmyk(0%, 68.1%, 10.4%, 43.5%)
CIE-LABlab(36.87, 50.69, -25.71)
CIE-LCHlch(36.87, 56.84, 333.11°)
OKLaboklab(47.72% 0.1472 -0.0702)
OKLCHoklch(47.72% 0.163 334.5)
XYZxyz(16.4412, 9.4696, 21.7265)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E81 #2E903D
analogous
#6E2E90 #902E81 #902E50
triadic
#902E81 #81902E #2E8190
tetradic
#902E81 #906E2E #2E903D #2E5090
square
#902E81 #906E2E #2E903D #2E5090
split-complementary
#902E81 #50902E #2E906E
monochromatic
#33102E #621F57 #902E81 #BE3DAB #CF69C0

Accessibility & contrast

On white

7.26
#902E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#902E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E81
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E81#FFFFFF#000000##FFFFFF
##902E811.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E83
Deuteranopia (green-blind)
#4E5C7F
Tritanopia (blue-blind)
#973553
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902e81;
/* rgb */ color: rgb(144, 46, 129);
/* oklch */ color: oklch(47.7% 0.163 334.5);
Tailwind
colors: {
  custom: {
    50: '#b46fa6',
    500: '#902e81',
    950: '#000000',
  },
}
SCSS
$custom: #902e81;
$custom-light: #b46fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#902e81",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 309.184,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47718,
    "c": 0.16308,
    "h": 334.5
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#902E81
secondary
#64B670
accent
#DB634D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902E81

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

Preview Lab → · Contrast checker → · Palette generator →

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