#902C8D#902C8D

#902C8D is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.175 H 329.1°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#902C8D
RGBrgb(144, 44, 141)
HSLhsl(302, 53%, 37%)
HSVhsv(302, 69%, 56%)
CMYKcmyk(0%, 69.4%, 2.1%, 43.5%)
CIE-LABlab(37.22, 53.49, -32.57)
CIE-LCHlch(37.22, 62.62, 328.66°)
OKLaboklab(48.17% 0.1505 -0.0899)
OKLCHoklch(48.17% 0.175 329.1)
XYZxyz(17.2098, 9.6550, 26.1513)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C8D #2C902F
analogous
#612C90 #902C8D #902C5B
triadic
#902C8D #8D902C #2C8D90
tetradic
#902C8D #90612C #2C902F #2C5B90
square
#902C8D #90612C #2C902F #2C5B90
split-complementary
#902C8D #5B902C #2C9061
monochromatic
#320F31 #611E5F #902C8D #BF3ABB #D066CD

Accessibility & contrast

On white

7.17
#902C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#902C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C8D
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C8D#FFFFFF#000000##FFFFFF
##902C8D1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#475C8A
Tritanopia (blue-blind)
#953959
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902c8d;
/* rgb */ color: rgb(144, 44, 141);
/* oklch */ color: oklch(48.2% 0.175 329.1);
Tailwind
colors: {
  custom: {
    50: '#b46eaf',
    500: '#902c8d',
    950: '#000000',
  },
}
SCSS
$custom: #902c8d;
$custom-light: #b46eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#902c8d",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 301.8,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48169,
    "c": 0.17529,
    "h": 329.1
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#902C8D
secondary
#61B764
accent
#DD504B
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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