#902B95#902B95

#902B95 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.183 H 325.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#902B95
RGBrgb(144, 43, 149)
HSLhsl(297, 55%, 38%)
HSVhsv(297, 71%, 58%)
CMYKcmyk(3.4%, 71.1%, 0%, 41.6%)
CIE-LABlab(37.53, 55.27, -36.95)
CIE-LCHlch(37.53, 66.48, 326.23°)
OKLaboklab(48.54% 0.1517 -0.1026)
OKLCHoklch(48.54% 0.183 325.9)
XYZxyz(17.7899, 9.8281, 29.3880)
Luminance0.0983 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B95 #30952B
analogous
#5B2B95 #902B95 #952B65
triadic
#902B95 #95902B #2B9590
tetradic
#902B95 #955B2B #30952B #2B6595
square
#902B95 #955B2B #30952B #2B6595
split-complementary
#902B95 #65952B #2B955B
monochromatic
#341036 #621D66 #902B95 #BE39C4 #CE67D3

Accessibility & contrast

On white

7.08
#902B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#902B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902B95
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B95#FFFFFF#000000##FFFFFF
##902B951.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135098
Deuteranopia (green-blind)
#425D92
Tritanopia (blue-blind)
#943C5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902b95;
/* rgb */ color: rgb(144, 43, 149);
/* oklch */ color: oklch(48.5% 0.183 325.9);
Tailwind
colors: {
  custom: {
    50: '#b46eb4',
    500: '#902b95',
    950: '#000000',
  },
}
SCSS
$custom: #902b95;
$custom-light: #b46eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#902b95",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 297.17,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48542,
    "c": 0.18316,
    "h": 325.9
  },
  "luminance": 0.09827
}

Semantic roles & 50–950 ramp

primary
#902B95
secondary
#66BA62
accent
#DF4950
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902B95

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

Preview Lab → · Contrast checker → · Palette generator →

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