#902A9A#902A9A

#902A9A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.189 H 324.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#902A9A
RGBrgb(144, 42, 154)
HSLhsl(295, 57%, 38%)
HSVhsv(295, 73%, 60%)
CMYKcmyk(6.5%, 72.7%, 0%, 39.6%)
CIE-LABlab(37.70, 56.54, -39.73)
CIE-LCHlch(37.70, 69.10, 324.90°)
OKLaboklab(48.76% 0.1526 -0.1107)
OKLCHoklch(48.76% 0.189 324)
XYZxyz(18.1618, 9.9194, 31.5236)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A9A #349A2A
analogous
#582A9A #902A9A #9A2A6C
triadic
#902A9A #9A902A #2A9A90
tetradic
#902A9A #9A582A #349A2A #2A6C9A
square
#902A9A #9A582A #349A2A #2A6C9A
split-complementary
#902A9A #6C9A2A #2A9A58
monochromatic
#36103A #631D6A #902A9A #BC38C9 #CC68D6

Accessibility & contrast

On white

7.04
#902A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#902A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A9A
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A9A#FFFFFF#000000##FFFFFF
##902A9A1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519D
Deuteranopia (green-blind)
#3E5D97
Tritanopia (blue-blind)
#933D5F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902a9a;
/* rgb */ color: rgb(144, 42, 154);
/* oklch */ color: oklch(48.8% 0.189 324.0);
Tailwind
colors: {
  custom: {
    50: '#b46eb8',
    500: '#902a9a',
    950: '#000000',
  },
}
SCSS
$custom: #902a9a;
$custom-light: #b46eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#902a9a",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 294.643,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48755,
    "c": 0.18856,
    "h": 324
  },
  "luminance": 0.09918
}

Semantic roles & 50–950 ramp

primary
#902A9A
secondary
#6BBC63
accent
#E04755
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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