#902A86#902A86

#902A86 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.172 H 332.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#902A86
RGBrgb(144, 42, 134)
HSLhsl(306, 55%, 36%)
HSVhsv(306, 71%, 56%)
CMYKcmyk(0%, 70.8%, 6.9%, 43.5%)
CIE-LABlab(36.57, 53.07, -29.28)
CIE-LCHlch(36.57, 60.61, 331.12°)
OKLaboklab(47.58% 0.1523 -0.0804)
OKLCHoklch(47.58% 0.172 332.2)
XYZxyz(16.6327, 9.3078, 23.4702)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A86 #2A9034
analogous
#672A90 #902A86 #902A53
triadic
#902A86 #86902A #2A8690
tetradic
#902A86 #90672A #2A9034 #2A5390
square
#902A86 #90672A #2A9034 #2A5390
split-complementary
#902A86 #53902A #2A9067
monochromatic
#310E2E #611C5A #902A86 #BF38B2 #D163C7

Accessibility & contrast

On white

7.34
#902A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#902A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A86
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A86#FFFFFF#000000##FFFFFF
##902A861.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#963455
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902a86;
/* rgb */ color: rgb(144, 42, 134);
/* oklch */ color: oklch(47.6% 0.172 332.2);
Tailwind
colors: {
  custom: {
    50: '#b46da9',
    500: '#902a86',
    950: '#000000',
  },
}
SCSS
$custom: #902a86;
$custom-light: #b46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#902a86",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 305.882,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.17219,
    "h": 332.2
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#902A86
secondary
#5EB767
accent
#DE584A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902A86

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

Preview Lab → · Contrast checker → · Palette generator →

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