#902881#902881

#902881 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.171 H 334.4°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#902881
RGBrgb(144, 40, 129)
HSLhsl(309, 57%, 36%)
HSVhsv(309, 72%, 56%)
CMYKcmyk(0%, 72.2%, 10.4%, 43.5%)
CIE-LABlab(36.05, 53.01, -27.00)
CIE-LCHlch(36.05, 59.49, 333.01°)
OKLaboklab(47.12% 0.154 -0.0738)
OKLCHoklch(47.12% 0.171 334.4)
XYZxyz(16.2230, 9.0332, 21.6538)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902881 #289037
analogous
#6B2890 #902881 #90284D
triadic
#902881 #819028 #288190
tetradic
#902881 #906B28 #289037 #284D90
square
#902881 #906B28 #289037 #284D90
split-complementary
#902881 #4D9028 #28906B
monochromatic
#300D2B #601B56 #902881 #C035AC #D360C2

Accessibility & contrast

On white

7.48
#902881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#902881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902881
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902881#FFFFFF#000000##FFFFFF
##9028811.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#4B5A7E
Tritanopia (blue-blind)
#973151
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902881;
/* rgb */ color: rgb(144, 40, 129);
/* oklch */ color: oklch(47.1% 0.171 334.4);
Tailwind
colors: {
  custom: {
    50: '#b46ca6',
    500: '#902881',
    950: '#000000',
  },
}
SCSS
$custom: #902881;
$custom-light: #b46ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#902881",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 308.654,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4712,
    "c": 0.17081,
    "h": 334.4
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#902881
secondary
#5CB869
accent
#E05E48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #902881

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

Preview Lab → · Contrast checker → · Palette generator →

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