#902E8A#902E8A

#902E8A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.170 H 330.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#902E8A
RGBrgb(144, 46, 138)
HSLhsl(304, 52%, 37%)
HSVhsv(304, 68%, 56%)
CMYKcmyk(0%, 68.1%, 4.2%, 43.5%)
CIE-LABlab(37.33, 52.19, -30.54)
CIE-LCHlch(37.33, 60.47, 329.66°)
OKLaboklab(48.2% 0.1481 -0.0841)
OKLCHoklch(48.2% 0.17 330.4)
XYZxyz(17.0660, 9.7195, 25.0170)
Luminance0.0972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E8A #2E9034
analogous
#652E90 #902E8A #902E59
triadic
#902E8A #8A902E #2E8A90
tetradic
#902E8A #90652E #2E9034 #2E5990
square
#902E8A #90652E #2E9034 #2E5990
split-complementary
#902E8A #59902E #2E9065
monochromatic
#331031 #621F5E #902E8A #BE3DB6 #CF69C9

Accessibility & contrast

On white

7.13
#902E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#902E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E8A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E8A#FFFFFF#000000##FFFFFF
##902E8A1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8D
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#953958
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902e8a;
/* rgb */ color: rgb(144, 46, 138);
/* oklch */ color: oklch(48.2% 0.170 330.4);
Tailwind
colors: {
  custom: {
    50: '#b46fac',
    500: '#902e8a',
    950: '#000000',
  },
}
SCSS
$custom: #902e8a;
$custom-light: #b46fac;
$custom-dark: #000000;
JSON
{
  "hex": "#902e8a",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 303.673,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48202,
    "c": 0.17026,
    "h": 330.4
  },
  "luminance": 0.09718
}

Semantic roles & 50–950 ramp

primary
#902E8A
secondary
#64B669
accent
#DB554D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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