#902BA5#902BA5

#902BA5 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 320.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#902BA5
RGBrgb(144, 43, 165)
HSLhsl(290, 59%, 41%)
HSVhsv(290, 74%, 65%)
CMYKcmyk(12.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(38.51, 58.21, -45.06)
CIE-LCHlch(38.51, 73.61, 322.26°)
OKLaboklab(49.55% 0.151 -0.1263)
OKLCHoklch(49.55% 0.197 320.1)
XYZxyz(19.1562, 10.3746, 36.5835)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BA5 #40A52B
analogous
#532BA5 #902BA5 #A52B7D
triadic
#902BA5 #A5902B #2BA590
tetradic
#902BA5 #A5532B #40A52B #2B7DA5
square
#902BA5 #A5532B #40A52B #2B7DA5
split-complementary
#902BA5 #7DA52B #2BA553
monochromatic
#3B1244 #661E74 #902BA5 #B540CD #C871DA

Accessibility & contrast

On white

6.83
#902BA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#902BA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BA5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BA5#FFFFFF#000000##FFFFFF
##902BA51.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#365EA2
Tritanopia (blue-blind)
#914366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ba5;
/* rgb */ color: rgb(144, 43, 165);
/* oklch */ color: oklch(49.6% 0.197 320.1);
Tailwind
colors: {
  custom: {
    50: '#b46fc0',
    500: '#902ba5',
    950: '#000000',
  },
}
SCSS
$custom: #902ba5;
$custom-light: #b46fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#902ba5",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 289.672,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.19686,
    "h": 320.1
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#902BA5
secondary
#7AC16B
accent
#E24661
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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