#902E85#902E85

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

Color values

HEX#902E85
RGBrgb(144, 46, 133)
HSLhsl(307, 52%, 37%)
HSVhsv(307, 68%, 56%)
CMYKcmyk(0%, 68.1%, 7.6%, 43.5%)
CIE-LABlab(37.07, 51.35, -27.87)
CIE-LCHlch(37.07, 58.42, 331.51°)
OKLaboklab(47.93% 0.1476 -0.0764)
OKLCHoklch(47.93% 0.166 332.6)
XYZxyz(16.7123, 9.5781, 23.1543)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E85 #2E9039
analogous
#6A2E90 #902E85 #902E54
triadic
#902E85 #85902E #2E8590
tetradic
#902E85 #906A2E #2E9039 #2E5490
square
#902E85 #906A2E #2E9039 #2E5490
split-complementary
#902E85 #54902E #2E906A
monochromatic
#33102F #621F5A #902E85 #BE3DB0 #CF69C4

Accessibility & contrast

On white

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

On black

2.92
#902E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##902E85#FFFFFF#000000##FFFFFF
##902E851.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4E88
Deuteranopia (green-blind)
#4C5C83
Tritanopia (blue-blind)
#963755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902e85;
/* rgb */ color: rgb(144, 46, 133);
/* oklch */ color: oklch(47.9% 0.166 332.6);
Tailwind
colors: {
  custom: {
    50: '#b46fa9',
    500: '#902e85',
    950: '#000000',
  },
}
SCSS
$custom: #902e85;
$custom-light: #b46fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#902e85",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 306.735,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47929,
    "c": 0.16622,
    "h": 332.6
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#902E85
secondary
#64B66D
accent
#DB5D4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E85

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

Preview Lab → · Contrast checker → · Palette generator →

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