#902C8F#902C8F

#902C8F is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.177 H 328.3°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#902C8F
RGBrgb(144, 44, 143)
HSLhsl(301, 53%, 37%)
HSVhsv(301, 69%, 56%)
CMYKcmyk(0%, 69.4%, 0.7%, 43.5%)
CIE-LABlab(37.33, 53.83, -33.62)
CIE-LCHlch(37.33, 63.47, 328.02°)
OKLaboklab(48.28% 0.1506 -0.0929)
OKLCHoklch(48.28% 0.177 328.3)
XYZxyz(17.3600, 9.7151, 26.9421)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C8F #2C902D
analogous
#5F2C90 #902C8F #902C5D
triadic
#902C8F #8F902C #2C8F90
tetradic
#902C8F #905F2C #2C902D #2C5D90
square
#902C8F #905F2C #2C902D #2C5D90
split-complementary
#902C8F #5D902C #2C905F
monochromatic
#320F32 #611E60 #902C8F #BF3ABE #D066CF

Accessibility & contrast

On white

7.14
#902C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#902C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C8F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C8F#FFFFFF#000000##FFFFFF
##902C8F1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#953A5A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902c8f;
/* rgb */ color: rgb(144, 44, 143);
/* oklch */ color: oklch(48.3% 0.177 328.3);
Tailwind
colors: {
  custom: {
    50: '#b46eb0',
    500: '#902c8f',
    950: '#000000',
  },
}
SCSS
$custom: #902c8f;
$custom-light: #b46eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#902c8f",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 300.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48284,
    "c": 0.17694,
    "h": 328.3
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#902C8F
secondary
#61B762
accent
#DD4D4B
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #902C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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