#902E8D#902E8D

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

Color values

HEX#902E8D
RGBrgb(144, 46, 141)
HSLhsl(302, 52%, 37%)
HSVhsv(302, 68%, 56%)
CMYKcmyk(0%, 68.1%, 2.1%, 43.5%)
CIE-LABlab(37.49, 52.70, -32.13)
CIE-LCHlch(37.49, 61.72, 328.63°)
OKLaboklab(48.37% 0.1483 -0.0887)
OKLCHoklch(48.37% 0.173 329.1)
XYZxyz(17.2862, 9.8076, 26.1767)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E8D #2E9031
analogous
#622E90 #902E8D #902E5C
triadic
#902E8D #8D902E #2E8D90
tetradic
#902E8D #90622E #2E9031 #2E5C90
square
#902E8D #90622E #2E9031 #2E5C90
split-complementary
#902E8D #5C902E #2E9062
monochromatic
#331032 #621F60 #902E8D #BE3DBA #CF69CC

Accessibility & contrast

On white

7.09
#902E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#902E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902E8D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E8D#FFFFFF#000000##FFFFFF
##902E8D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235090
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#953A5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902e8d;
/* rgb */ color: rgb(144, 46, 141);
/* oklch */ color: oklch(48.4% 0.173 329.1);
Tailwind
colors: {
  custom: {
    50: '#b46faf',
    500: '#902e8d',
    950: '#000000',
  },
}
SCSS
$custom: #902e8d;
$custom-light: #b46faf;
$custom-dark: #000000;
JSON
{
  "hex": "#902e8d",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 301.837,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4837,
    "c": 0.17273,
    "h": 329.1
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#902E8D
secondary
#64B666
accent
#DB514D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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