#902E9D#902E9D

#902E9D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.186 H 322.8°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#902E9D
RGBrgb(144, 46, 157)
HSLhsl(293, 55%, 40%)
HSVhsv(293, 71%, 62%)
CMYKcmyk(8.3%, 70.7%, 0%, 38.4%)
CIE-LABlab(38.41, 55.58, -40.41)
CIE-LCHlch(38.41, 68.72, 323.98°)
OKLaboklab(49.32% 0.1484 -0.1127)
OKLCHoklch(49.32% 0.186 322.8)
XYZxyz(18.5638, 10.3187, 32.9057)
Luminance0.1032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E9D #3B9D2E
analogous
#592E9D #902E9D #9D2E73
triadic
#902E9D #9D902E #2E9D90
tetradic
#902E9D #9D592E #3B9D2E #2E739D
square
#902E9D #9D592E #3B9D2E #2E739D
split-complementary
#902E9D #739D2E #2E9D59
monochromatic
#39123E #65206E #902E9D #B841C7 #C970D5

Accessibility & contrast

On white

6.85
#902E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#902E9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902E9D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E9D#FFFFFF#000000##FFFFFF
##902E9D1.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0753A0
Deuteranopia (green-blind)
#3F5E9A
Tritanopia (blue-blind)
#924162
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902e9d;
/* rgb */ color: rgb(144, 46, 157);
/* oklch */ color: oklch(49.3% 0.186 322.8);
Tailwind
colors: {
  custom: {
    50: '#b470ba',
    500: '#902e9d',
    950: '#000000',
  },
}
SCSS
$custom: #902e9d;
$custom-light: #b470ba;
$custom-dark: #000000;
JSON
{
  "hex": "#902e9d",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 292.973,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.18637,
    "h": 322.8
  },
  "luminance": 0.10318
}

Semantic roles & 50–950 ramp

primary
#902E9D
secondary
#74BD6A
accent
#DE4A5B
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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