#902C95#902C95

#902C95 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.182 H 325.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#902C95
RGBrgb(144, 44, 149)
HSLhsl(297, 54%, 38%)
HSVhsv(297, 70%, 58%)
CMYKcmyk(3.4%, 70.5%, 0%, 41.6%)
CIE-LABlab(37.67, 54.89, -36.74)
CIE-LCHlch(37.67, 66.05, 326.20°)
OKLaboklab(48.64% 0.1507 -0.102)
OKLCHoklch(48.64% 0.182 325.9)
XYZxyz(17.8267, 9.9017, 29.4002)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902C95 #31952C
analogous
#5B2C95 #902C95 #952C65
triadic
#902C95 #95902C #2C9590
tetradic
#902C95 #955B2C #31952C #2C6595
square
#902C95 #955B2C #31952C #2C6595
split-complementary
#902C95 #65952C #2C955B
monochromatic
#351037 #621E66 #902C95 #BE3AC4 #CE69D3

Accessibility & contrast

On white

7.05
#902C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#902C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902C95
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902C95#FFFFFF#000000##FFFFFF
##902C951.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#943D5D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902c95;
/* rgb */ color: rgb(144, 44, 149);
/* oklch */ color: oklch(48.6% 0.182 325.9);
Tailwind
colors: {
  custom: {
    50: '#b46fb4',
    500: '#902c95',
    950: '#000000',
  },
}
SCSS
$custom: #902c95;
$custom-light: #b46fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#902c95",
  "rgb": {
    "r": 144,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 297.143,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.18195,
    "h": 325.9
  },
  "luminance": 0.09901
}

Semantic roles & 50–950 ramp

primary
#902C95
secondary
#68B964
accent
#DE4A51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902C95

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

Preview Lab → · Contrast checker → · Palette generator →

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