#902F82#902F82

#902F82 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.9% C 0.162 H 334.1°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#902F82
RGBrgb(144, 47, 130)
HSLhsl(309, 51%, 37%)
HSVhsv(309, 67%, 56%)
CMYKcmyk(0%, 67.4%, 9.7%, 43.5%)
CIE-LABlab(37.07, 50.44, -26.02)
CIE-LCHlch(37.07, 56.76, 332.71°)
OKLaboklab(47.88% 0.1461 -0.0711)
OKLCHoklch(47.88% 0.162 334.1)
XYZxyz(16.5475, 9.5754, 22.0915)
Luminance0.0957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902F82 #2F903D
analogous
#6E2F90 #902F82 #902F51
triadic
#902F82 #82902F #2F8290
tetradic
#902F82 #906E2F #2F903D #2F5190
square
#902F82 #906E2F #2F903D #2F5190
split-complementary
#902F82 #51902F #2F906E
monochromatic
#34112F #622058 #902F82 #BE3EAC #CF6BC0

Accessibility & contrast

On white

7.20
#902F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#902F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902F82
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902F82#FFFFFF#000000##FFFFFF
##902F821.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4E84
Deuteranopia (green-blind)
#4E5C80
Tritanopia (blue-blind)
#973654
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902f82;
/* rgb */ color: rgb(144, 47, 130);
/* oklch */ color: oklch(47.9% 0.162 334.1);
Tailwind
colors: {
  custom: {
    50: '#b36fa6',
    500: '#902f82',
    950: '#000000',
  },
}
SCSS
$custom: #902f82;
$custom-light: #b36fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#902f82",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 308.66,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47876,
    "c": 0.16249,
    "h": 334.1
  },
  "luminance": 0.09574
}

Semantic roles & 50–950 ramp

primary
#902F82
secondary
#65B671
accent
#DA624E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#11080F
muted
#807B7F

Preview Lab

Preview with #902F82

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

Preview Lab → · Contrast checker → · Palette generator →

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