#902AA3#902AA3

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

Color values

HEX#902AA3
RGBrgb(144, 42, 163)
HSLhsl(291, 59%, 40%)
HSVhsv(291, 74%, 64%)
CMYKcmyk(11.7%, 74.2%, 0%, 36.1%)
CIE-LABlab(38.25, 58.19, -44.27)
CIE-LCHlch(38.25, 73.12, 322.74°)
OKLaboklab(49.33% 0.1521 -0.124)
OKLCHoklch(49.33% 0.196 320.8)
XYZxyz(18.9397, 10.2306, 35.6203)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AA3 #3DA32A
analogous
#542AA3 #902AA3 #A32A79
triadic
#902AA3 #A3902A #2AA390
tetradic
#902AA3 #A3542A #3DA32A #2A79A3
square
#902AA3 #A3542A #3DA32A #2A79A3
split-complementary
#902AA3 #79A32A #2AA354
monochromatic
#3A1142 #651D72 #902AA3 #B63DCD #C96EDA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##902AA3#FFFFFF#000000##FFFFFF
##902AA31.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)
#0053A6
Deuteranopia (green-blind)
#385EA0
Tritanopia (blue-blind)
#914264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902aa3;
/* rgb */ color: rgb(144, 42, 163);
/* oklch */ color: oklch(49.3% 0.196 320.8);
Tailwind
colors: {
  custom: {
    50: '#b46ebf',
    500: '#902aa3',
    950: '#000000',
  },
}
SCSS
$custom: #902aa3;
$custom-light: #b46ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#902aa3",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 290.579,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.19624,
    "h": 320.8
  },
  "luminance": 0.1023
}

Semantic roles & 50–950 ramp

primary
#902AA3
secondary
#76C068
accent
#E2465E
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #902AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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