#902E87#902E87

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

Color values

HEX#902E87
RGBrgb(144, 46, 135)
HSLhsl(306, 52%, 37%)
HSVhsv(306, 68%, 56%)
CMYKcmyk(0%, 68.1%, 6.2%, 43.5%)
CIE-LABlab(37.18, 51.68, -28.94)
CIE-LCHlch(37.18, 59.23, 330.75°)
OKLaboklab(48.04% 0.1478 -0.0795)
OKLCHoklch(48.04% 0.168 331.7)
XYZxyz(16.8518, 9.6338, 23.8889)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E87 #2E9037
analogous
#682E90 #902E87 #902E56
triadic
#902E87 #87902E #2E8790
tetradic
#902E87 #90682E #2E9037 #2E5690
square
#902E87 #90682E #2E9037 #2E5690
split-complementary
#902E87 #56902E #2E9068
monochromatic
#331030 #621F5C #902E87 #BE3DB2 #CF69C6

Accessibility & contrast

On white

7.18
#902E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#902E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E87
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E87#FFFFFF#000000##FFFFFF
##902E871.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#963856
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902e87;
/* rgb */ color: rgb(144, 46, 135);
/* oklch */ color: oklch(48.0% 0.168 331.7);
Tailwind
colors: {
  custom: {
    50: '#b46faa',
    500: '#902e87',
    950: '#000000',
  },
}
SCSS
$custom: #902e87;
$custom-light: #b46faa;
$custom-dark: #000000;
JSON
{
  "hex": "#902e87",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 305.51,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48037,
    "c": 0.16783,
    "h": 331.7
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#902E87
secondary
#64B66B
accent
#DB5A4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E87

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

Preview Lab → · Contrast checker → · Palette generator →

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