#902E8E#902E8E

#902E8E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.174 H 328.7°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#902E8E
RGBrgb(144, 46, 142)
HSLhsl(301, 52%, 37%)
HSVhsv(301, 68%, 56%)
CMYKcmyk(0%, 68.1%, 1.4%, 43.5%)
CIE-LABlab(37.55, 52.88, -32.65)
CIE-LCHlch(37.55, 62.15, 328.30°)
OKLaboklab(48.43% 0.1483 -0.0902)
OKLCHoklch(48.43% 0.174 328.7)
XYZxyz(17.3609, 9.8375, 26.5704)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E8E #2E9030
analogous
#612E90 #902E8E #902E5D
triadic
#902E8E #8E902E #2E8E90
tetradic
#902E8E #90612E #2E9030 #2E5D90
square
#902E8E #90612E #2E9030 #2E5D90
split-complementary
#902E8E #5D902E #2E9061
monochromatic
#331033 #621F60 #902E8E #BE3DBC #CF69CD

Accessibility & contrast

On white

7.08
#902E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#902E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E8E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E8E#FFFFFF#000000##FFFFFF
##902E8E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#953B5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902e8e;
/* rgb */ color: rgb(144, 46, 142);
/* oklch */ color: oklch(48.4% 0.174 328.7);
Tailwind
colors: {
  custom: {
    50: '#b46faf',
    500: '#902e8e',
    950: '#000000',
  },
}
SCSS
$custom: #902e8e;
$custom-light: #b46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#902e8e",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 301.224,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48427,
    "c": 0.17356,
    "h": 328.7
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#902E8E
secondary
#64B665
accent
#DB504D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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