#902E97#902E97

#902E97 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.181 H 325.1°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#902E97
RGBrgb(144, 46, 151)
HSLhsl(296, 53%, 39%)
HSVhsv(296, 70%, 59%)
CMYKcmyk(4.6%, 69.5%, 0%, 40.8%)
CIE-LABlab(38.05, 54.48, -37.34)
CIE-LCHlch(38.05, 66.05, 325.57°)
OKLaboklab(48.95% 0.1485 -0.1038)
OKLCHoklch(48.95% 0.181 325.1)
XYZxyz(18.0641, 10.1188, 30.2738)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E97 #35972E
analogous
#5B2E97 #902E97 #972E69
triadic
#902E97 #97902E #2E9790
tetradic
#902E97 #975B2E #35972E #2E6997
square
#902E97 #975B2E #35972E #2E6997
split-complementary
#902E97 #69972E #2E975B
monochromatic
#371139 #632068 #902E97 #BB3EC4 #CC6DD2

Accessibility & contrast

On white

6.95
#902E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#902E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902E97
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E97#FFFFFF#000000##FFFFFF
##902E971.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#435E94
Tritanopia (blue-blind)
#933F5F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902e97;
/* rgb */ color: rgb(144, 46, 151);
/* oklch */ color: oklch(49.0% 0.181 325.1);
Tailwind
colors: {
  custom: {
    50: '#b470b6',
    500: '#902e97',
    950: '#000000',
  },
}
SCSS
$custom: #902e97;
$custom-light: #b470b6;
$custom-dark: #000000;
JSON
{
  "hex": "#902e97",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 296,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.18117,
    "h": 325.1
  },
  "luminance": 0.10118
}

Semantic roles & 50–950 ramp

primary
#902E97
secondary
#6DBA67
accent
#DD4B55
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902E97

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

Preview Lab → · Contrast checker → · Palette generator →

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