#902986#902986

#902986 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.5% C 0.173 H 332.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#902986
RGBrgb(144, 41, 134)
HSLhsl(306, 56%, 36%)
HSVhsv(306, 72%, 56%)
CMYKcmyk(0%, 71.5%, 6.9%, 43.5%)
CIE-LABlab(36.44, 53.45, -29.49)
CIE-LCHlch(36.44, 61.04, 331.11°)
OKLaboklab(47.49% 0.1534 -0.081)
OKLCHoklch(47.49% 0.173 332.2)
XYZxyz(16.5976, 9.2377, 23.4585)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902986 #299033
analogous
#672990 #902986 #902953
triadic
#902986 #869029 #298690
tetradic
#902986 #906729 #299033 #295390
square
#902986 #906729 #299033 #295390
split-complementary
#902986 #539029 #299067
monochromatic
#310E2D #601B5A #902986 #C037B2 #D261C7

Accessibility & contrast

On white

7.38
#902986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#902986 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902986
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902986#FFFFFF#000000##FFFFFF
##9029861.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234C89
Deuteranopia (green-blind)
#495B83
Tritanopia (blue-blind)
#963454
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #902986;
/* rgb */ color: rgb(144, 41, 134);
/* oklch */ color: oklch(47.5% 0.173 332.2);
Tailwind
colors: {
  custom: {
    50: '#b46da9',
    500: '#902986',
    950: '#000000',
  },
}
SCSS
$custom: #902986;
$custom-light: #b46da9;
$custom-dark: #000000;
JSON
{
  "hex": "#902986",
  "rgb": {
    "r": 144,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 305.825,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47486,
    "c": 0.17343,
    "h": 332.2
  },
  "luminance": 0.09236
}

Semantic roles & 50–950 ramp

primary
#902986
secondary
#5DB866
accent
#DF5749
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #902986

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

Preview Lab → · Contrast checker → · Palette generator →

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