#902180#902180

#902180 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.178 H 334.7°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#902180
RGBrgb(144, 33, 128)
HSLhsl(309, 63%, 35%)
HSVhsv(309, 77%, 56%)
CMYKcmyk(0%, 77.1%, 11.1%, 43.5%)
CIE-LABlab(35.16, 55.24, -27.78)
CIE-LCHlch(35.16, 61.83, 333.30°)
OKLaboklab(46.46% 0.161 -0.076)
OKLCHoklch(46.46% 0.178 334.7)
XYZxyz(15.9419, 8.5769, 21.2338)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902180 #219031
analogous
#692190 #902180 #902148
triadic
#902180 #809021 #218090
tetradic
#902180 #906921 #219031 #214890
square
#902180 #906921 #219031 #214890
split-complementary
#902180 #489021 #219069
monochromatic
#2C0A27 #5E1654 #902180 #C22CAC #D854C5

Accessibility & contrast

On white

7.73
#902180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#902180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902180
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902180#FFFFFF#000000##FFFFFF
##9021801.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204883
Deuteranopia (green-blind)
#49587D
Tritanopia (blue-blind)
#972B4F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #902180;
/* rgb */ color: rgb(144, 33, 128);
/* oklch */ color: oklch(46.5% 0.178 334.7);
Tailwind
colors: {
  custom: {
    50: '#b469a5',
    500: '#902180',
    950: '#000000',
  },
}
SCSS
$custom: #902180;
$custom-light: #b469a5;
$custom-dark: #000000;
JSON
{
  "hex": "#902180",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 308.649,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.17803,
    "h": 334.7
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#902180
secondary
#51BB61
accent
#E65A42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #902180

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

Preview Lab → · Contrast checker → · Palette generator →

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