#902E95#902E95

#902E95 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.8% C 0.179 H 325.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#902E95
RGBrgb(144, 46, 149)
HSLhsl(297, 53%, 38%)
HSVhsv(297, 69%, 58%)
CMYKcmyk(3.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(37.94, 54.12, -36.31)
CIE-LCHlch(37.94, 65.17, 326.14°)
OKLaboklab(48.84% 0.1485 -0.1008)
OKLCHoklch(48.84% 0.179 325.8)
XYZxyz(17.9030, 10.0544, 29.4257)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902E95 #33952E
analogous
#5C2E95 #902E95 #952E66
triadic
#902E95 #95902E #2E9590
tetradic
#902E95 #955C2E #33952E #2E6695
square
#902E95 #955C2E #33952E #2E6695
split-complementary
#902E95 #66952E #2E955C
monochromatic
#361137 #632066 #902E95 #BD3DC3 #CD6CD2

Accessibility & contrast

On white

6.98
#902E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#902E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902E95
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902E95#FFFFFF#000000##FFFFFF
##902E951.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#445E92
Tritanopia (blue-blind)
#943E5E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902e95;
/* rgb */ color: rgb(144, 46, 149);
/* oklch */ color: oklch(48.8% 0.179 325.8);
Tailwind
colors: {
  custom: {
    50: '#b470b4',
    500: '#902e95',
    950: '#000000',
  },
}
SCSS
$custom: #902e95;
$custom-light: #b470b4;
$custom-dark: #000000;
JSON
{
  "hex": "#902e95",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 297.087,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48835,
    "c": 0.17946,
    "h": 325.8
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#902E95
secondary
#6AB966
accent
#DC4C53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902E95

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

Preview Lab → · Contrast checker → · Palette generator →

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