#902186#902186

#902186 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.182 H 332.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#902186
RGBrgb(144, 33, 134)
HSLhsl(305, 63%, 35%)
HSVhsv(305, 77%, 56%)
CMYKcmyk(0%, 77.1%, 6.9%, 43.5%)
CIE-LABlab(35.48, 56.18, -31.00)
CIE-LCHlch(35.48, 64.17, 331.11°)
OKLaboklab(46.8% 0.1613 -0.0853)
OKLCHoklch(46.8% 0.182 332.1)
XYZxyz(16.3486, 8.7396, 23.3755)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902186 #21902B
analogous
#622190 #902186 #90214F
triadic
#902186 #869021 #218690
tetradic
#902186 #906221 #21902B #214F90
square
#902186 #906221 #21902B #214F90
split-complementary
#902186 #4F9021 #219062
monochromatic
#2C0A29 #5E1658 #902186 #C22CB4 #D854CC

Accessibility & contrast

On white

7.64
#902186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#902186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902186
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902186#FFFFFF#000000##FFFFFF
##9021861.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194989
Deuteranopia (green-blind)
#465983
Tritanopia (blue-blind)
#962E52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902186;
/* rgb */ color: rgb(144, 33, 134);
/* oklch */ color: oklch(46.8% 0.182 332.1);
Tailwind
colors: {
  custom: {
    50: '#b469a9',
    500: '#902186',
    950: '#000000',
  },
}
SCSS
$custom: #902186;
$custom-light: #b469a9;
$custom-dark: #000000;
JSON
{
  "hex": "#902186",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 305.405,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46796,
    "c": 0.18246,
    "h": 332.1
  },
  "luminance": 0.08738
}

Semantic roles & 50–950 ramp

primary
#902186
secondary
#51BB5B
accent
#E65142
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #902186

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

Preview Lab → · Contrast checker → · Palette generator →

#902186 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva