#902892#902892

#902892 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.184 H 327.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#902892
RGBrgb(144, 40, 146)
HSLhsl(299, 57%, 36%)
HSVhsv(299, 73%, 57%)
CMYKcmyk(1.4%, 72.6%, 0%, 42.7%)
CIE-LABlab(36.97, 55.84, -36.01)
CIE-LCHlch(36.97, 66.44, 327.18°)
OKLaboklab(48.09% 0.1548 -0.0999)
OKLCHoklch(48.09% 0.184 327.2)
XYZxyz(17.4484, 9.5234, 28.1077)
Luminance0.0952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902892 #2A9228
analogous
#5B2892 #902892 #92285F
triadic
#902892 #929028 #289290
tetradic
#902892 #925B28 #2A9228 #285F92
square
#902892 #925B28 #2A9228 #285F92
split-complementary
#902892 #5F9228 #28925B
monochromatic
#310E32 #611B62 #902892 #BF35C2 #D161D4

Accessibility & contrast

On white

7.23
#902892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#902892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902892
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902892#FFFFFF#000000##FFFFFF
##9028921.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124E95
Deuteranopia (green-blind)
#425C8F
Tritanopia (blue-blind)
#94395A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #902892;
/* rgb */ color: rgb(144, 40, 146);
/* oklch */ color: oklch(48.1% 0.184 327.2);
Tailwind
colors: {
  custom: {
    50: '#b46db2',
    500: '#902892',
    950: '#000000',
  },
}
SCSS
$custom: #902892;
$custom-light: #b46db2;
$custom-dark: #000000;
JSON
{
  "hex": "#902892",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 298.868,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.18421,
    "h": 327.2
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#902892
secondary
#5EB95D
accent
#E0484A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902892

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

Preview Lab → · Contrast checker → · Palette generator →

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