#902C97#902C97

#902C97 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.184 H 325.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#902C97
RGBrgb(144, 44, 151)
HSLhsl(296, 55%, 38%)
HSVhsv(296, 71%, 59%)
CMYKcmyk(4.6%, 70.9%, 0%, 40.8%)
CIE-LABlab(37.78, 55.25, -37.77)
CIE-LCHlch(37.78, 66.93, 325.64°)
OKLaboklab(48.76% 0.1507 -0.105)
OKLCHoklch(48.76% 0.184 325.1)
XYZxyz(17.9878, 9.9662, 30.2484)
Luminance0.0997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C97 #33972C
analogous
#5A2C97 #902C97 #972C68
triadic
#902C97 #97902C #2C9790
tetradic
#902C97 #975A2C #33972C #2C6897
square
#902C97 #975A2C #33972C #2C6897
split-complementary
#902C97 #68972C #2C975A
monochromatic
#361038 #631E68 #902C97 #BD3AC6 #CD6AD4

Accessibility & contrast

On white

7.02
#902C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#902C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C97
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C97#FFFFFF#000000##FFFFFF
##902C971.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#933D5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902c97;
/* rgb */ color: rgb(144, 44, 151);
/* oklch */ color: oklch(48.8% 0.184 325.1);
Tailwind
colors: {
  custom: {
    50: '#b46fb6',
    500: '#902c97',
    950: '#000000',
  },
}
SCSS
$custom: #902c97;
$custom-light: #b46fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#902c97",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 296.075,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.18364,
    "h": 325.1
  },
  "luminance": 0.09965
}

Semantic roles & 50–950 ramp

primary
#902C97
secondary
#6ABA65
accent
#DE4A53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902C97

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

Preview Lab → · Contrast checker → · Palette generator →

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