#902896#902896

#902896 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 325.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#902896
RGBrgb(144, 40, 150)
HSLhsl(297, 58%, 37%)
HSVhsv(297, 73%, 59%)
CMYKcmyk(4%, 73.3%, 0%, 41.2%)
CIE-LABlab(37.21, 56.54, -38.08)
CIE-LCHlch(37.21, 68.16, 326.04°)
OKLaboklab(48.33% 0.1547 -0.1059)
OKLCHoklch(48.33% 0.188 325.6)
XYZxyz(17.7650, 9.6501, 29.7752)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902896 #2E9628
analogous
#592896 #902896 #962865
triadic
#902896 #969028 #289690
tetradic
#902896 #965928 #2E9628 #286596
square
#902896 #965928 #2E9628 #286596
split-complementary
#902896 #659628 #289659
monochromatic
#330E35 #621B66 #902896 #BE35C6 #CF63D5

Accessibility & contrast

On white

7.17
#902896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#902896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902896
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902896#FFFFFF#000000##FFFFFF
##9028961.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084F99
Deuteranopia (green-blind)
#405C93
Tritanopia (blue-blind)
#943A5D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #902896;
/* rgb */ color: rgb(144, 40, 150);
/* oklch */ color: oklch(48.3% 0.188 325.6);
Tailwind
colors: {
  custom: {
    50: '#b46db5',
    500: '#902896',
    950: '#000000',
  },
}
SCSS
$custom: #902896;
$custom-light: #b46db5;
$custom-dark: #000000;
JSON
{
  "hex": "#902896",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 296.727,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.1875,
    "h": 325.6
  },
  "luminance": 0.09649
}

Semantic roles & 50–950 ramp

primary
#902896
secondary
#64BB5F
accent
#E1474F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902896

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

Preview Lab → · Contrast checker → · Palette generator →

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