#902786#902786

#902786 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.176 H 332.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#902786
RGBrgb(144, 39, 134)
HSLhsl(306, 57%, 36%)
HSVhsv(306, 73%, 56%)
CMYKcmyk(0%, 72.9%, 6.9%, 43.5%)
CIE-LABlab(36.18, 54.17, -29.89)
CIE-LCHlch(36.18, 61.87, 331.11°)
OKLaboklab(47.3% 0.1555 -0.0821)
OKLCHoklch(47.3% 0.176 332.2)
XYZxyz(16.5302, 9.1029, 23.4361)
Luminance0.0910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902786 #279031
analogous
#652790 #902786 #902751
triadic
#902786 #869027 #278690
tetradic
#902786 #906527 #279031 #275190
square
#902786 #906527 #279031 #275190
split-complementary
#902786 #519027 #279065
monochromatic
#300D2C #601A59 #902786 #C034B3 #D35EC8

Accessibility & contrast

On white

7.45
#902786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#902786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902786
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902786#FFFFFF#000000##FFFFFF
##9027861.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#485A83
Tritanopia (blue-blind)
#963254
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #902786;
/* rgb */ color: rgb(144, 39, 134);
/* oklch */ color: oklch(47.3% 0.176 332.2);
Tailwind
colors: {
  custom: {
    50: '#b46ca9',
    500: '#902786',
    950: '#000000',
  },
}
SCSS
$custom: #902786;
$custom-light: #b46ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#902786",
  "rgb": {
    "r": 144,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 305.714,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47301,
    "c": 0.17583,
    "h": 332.2
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#902786
secondary
#5AB963
accent
#E15647
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #902786

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

Preview Lab → · Contrast checker → · Palette generator →

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