#902087#902087

#902087 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.184 H 331.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#902087
RGBrgb(144, 32, 135)
HSLhsl(305, 64%, 35%)
HSVhsv(305, 78%, 56%)
CMYKcmyk(0%, 77.8%, 6.2%, 43.5%)
CIE-LABlab(35.43, 56.65, -31.70)
CIE-LCHlch(35.43, 64.92, 330.77°)
OKLaboklab(46.78% 0.1622 -0.0873)
OKLCHoklch(46.78% 0.184 331.7)
XYZxyz(16.3913, 8.7129, 23.7354)
Luminance0.0871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902087 #209029
analogous
#612090 #902087 #90204F
triadic
#902087 #879020 #208790
tetradic
#902087 #906120 #209029 #204F90
square
#902087 #906120 #209029 #204F90
split-complementary
#902087 #4F9020 #209061
monochromatic
#2C0A29 #5E1558 #902087 #C22BB6 #D952CE

Accessibility & contrast

On white

7.66
#902087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#902087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902087
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902087#FFFFFF#000000##FFFFFF
##9020871.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#962E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902087;
/* rgb */ color: rgb(144, 32, 135);
/* oklch */ color: oklch(46.8% 0.184 331.7);
Tailwind
colors: {
  custom: {
    50: '#b469aa',
    500: '#902087',
    950: '#000000',
  },
}
SCSS
$custom: #902087;
$custom-light: #b469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#902087",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 304.821,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46776,
    "c": 0.18423,
    "h": 331.7
  },
  "luminance": 0.08712
}

Semantic roles & 50–950 ramp

primary
#902087
secondary
#50BC59
accent
#E74E41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #902087

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

Preview Lab → · Contrast checker → · Palette generator →

#902087 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva