#902BA1#902BA1

#902BA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.193 H 321.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#902BA1
RGBrgb(144, 43, 161)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 73%, 63%)
CMYKcmyk(10.6%, 73.3%, 0%, 36.9%)
CIE-LABlab(38.25, 57.46, -43.06)
CIE-LCHlch(38.25, 71.80, 323.15°)
OKLaboklab(49.29% 0.1513 -0.1204)
OKLCHoklch(49.29% 0.193 321.5)
XYZxyz(18.7978, 10.2313, 34.6960)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA1 #3CA12B
analogous
#552BA1 #902BA1 #A12B77
triadic
#902BA1 #A1902B #2BA190
tetradic
#902BA1 #A1552B #3CA12B #2B77A1
square
#902BA1 #A1552B #3CA12B #2B77A1
split-complementary
#902BA1 #77A12B #2BA155
monochromatic
#3A1140 #651E71 #902BA1 #B73ECB #C96ED8

Accessibility & contrast

On white

6.89
#902BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#902BA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BA1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA1#FFFFFF#000000##FFFFFF
##902BA11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#3A5E9E
Tritanopia (blue-blind)
#914164
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ba1;
/* rgb */ color: rgb(144, 43, 161);
/* oklch */ color: oklch(49.3% 0.193 321.5);
Tailwind
colors: {
  custom: {
    50: '#b46fbd',
    500: '#902ba1',
    950: '#000000',
  },
}
SCSS
$custom: #902ba1;
$custom-light: #b46fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba1",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 161
  },
  "hsl": {
    "h": 291.356,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.19338,
    "h": 321.5
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#902BA1
secondary
#75BF69
accent
#E1475D
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902BA1

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

Preview Lab → · Contrast checker → · Palette generator →

#902BA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva