#902BA2#902BA2

#902BA2 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.4% C 0.194 H 321.1°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#902BA2
RGBrgb(144, 43, 162)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 73%, 64%)
CMYKcmyk(11.1%, 73.5%, 0%, 36.5%)
CIE-LABlab(38.32, 57.64, -43.57)
CIE-LCHlch(38.32, 72.26, 322.92°)
OKLaboklab(49.36% 0.1512 -0.1219)
OKLCHoklch(49.36% 0.194 321.1)
XYZxyz(18.8863, 10.2667, 35.1623)
Luminance0.1027 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA2 #3DA22B
analogous
#542BA2 #902BA2 #A22B79
triadic
#902BA2 #A2902B #2BA290
tetradic
#902BA2 #A2542B #3DA22B #2B79A2
square
#902BA2 #A2542B #3DA22B #2B79A2
split-complementary
#902BA2 #79A22B #2BA254
monochromatic
#3A1141 #651E72 #902BA2 #B63ECC #C96FD9

Accessibility & contrast

On white

6.88
#902BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902BA2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA2#FFFFFF#000000##FFFFFF
##902BA21.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#395E9F
Tritanopia (blue-blind)
#914264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902ba2;
/* rgb */ color: rgb(144, 43, 162);
/* oklch */ color: oklch(49.4% 0.194 321.1);
Tailwind
colors: {
  custom: {
    50: '#b46fbe',
    500: '#902ba2',
    950: '#000000',
  },
}
SCSS
$custom: #902ba2;
$custom-light: #b46fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba2",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 290.924,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49355,
    "c": 0.19425,
    "h": 321.1
  },
  "luminance": 0.10266
}

Semantic roles & 50–950 ramp

primary
#902BA2
secondary
#76C069
accent
#E1475E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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