#902F87#902F87

#902F87 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.166 H 331.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#902F87
RGBrgb(144, 47, 135)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 67%, 56%)
CMYKcmyk(0%, 67.4%, 6.2%, 43.5%)
CIE-LABlab(37.32, 51.27, -28.71)
CIE-LCHlch(37.32, 58.77, 330.75°)
OKLaboklab(48.14% 0.1467 -0.0788)
OKLCHoklch(48.14% 0.166 331.7)
XYZxyz(16.8913, 9.7129, 23.9021)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F87 #2F9038
analogous
#682F90 #902F87 #902F57
triadic
#902F87 #87902F #2F8790
tetradic
#902F87 #90682F #2F9038 #2F5790
square
#902F87 #90682F #2F9038 #2F5790
split-complementary
#902F87 #57902F #2F9068
monochromatic
#341130 #62205C #902F87 #BE3EB2 #CF6BC5

Accessibility & contrast

On white

7.14
#902F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902F87
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F87#FFFFFF#000000##FFFFFF
##902F871.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F8A
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#963957
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902f87;
/* rgb */ color: rgb(144, 47, 135);
/* oklch */ color: oklch(48.1% 0.166 331.7);
Tailwind
colors: {
  custom: {
    50: '#b370aa',
    500: '#902f87',
    950: '#000000',
  },
}
SCSS
$custom: #902f87;
$custom-light: #b370aa;
$custom-dark: #000000;
JSON
{
  "hex": "#902f87",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 305.567,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.16648,
    "h": 331.7
  },
  "luminance": 0.09712
}

Semantic roles & 50–950 ramp

primary
#902F87
secondary
#65B66D
accent
#DA5B4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902F87

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

Preview Lab → · Contrast checker → · Palette generator →

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