#902182#902182

#902182 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.179 H 333.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#902182
RGBrgb(144, 33, 130)
HSLhsl(308, 63%, 35%)
HSVhsv(308, 77%, 56%)
CMYKcmyk(0%, 77.1%, 9.7%, 43.5%)
CIE-LABlab(35.26, 55.55, -28.86)
CIE-LCHlch(35.26, 62.60, 332.55°)
OKLaboklab(46.57% 0.1611 -0.0791)
OKLCHoklch(46.57% 0.179 333.8)
XYZxyz(16.0749, 8.6301, 21.9339)
Luminance0.0863 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902182 #21902F
analogous
#672190 #902182 #90214A
triadic
#902182 #829021 #218290
tetradic
#902182 #906721 #21902F #214A90
square
#902182 #906721 #21902F #214A90
split-complementary
#902182 #4A9021 #219067
monochromatic
#2C0A28 #5E1655 #902182 #C22CAF #D854C7

Accessibility & contrast

On white

7.70
#902182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#902182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902182
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902182#FFFFFF#000000##FFFFFF
##9021821.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4985
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#972C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902182;
/* rgb */ color: rgb(144, 33, 130);
/* oklch */ color: oklch(46.6% 0.179 333.8);
Tailwind
colors: {
  custom: {
    50: '#b469a6',
    500: '#902182',
    950: '#000000',
  },
}
SCSS
$custom: #902182;
$custom-light: #b469a6;
$custom-dark: #000000;
JSON
{
  "hex": "#902182",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 307.568,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46571,
    "c": 0.17949,
    "h": 333.8
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#902182
secondary
#51BB5F
accent
#E65742
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902182

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

Preview Lab → · Contrast checker → · Palette generator →

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