#902A9B#902A9B

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

Color values

HEX#902A9B
RGBrgb(144, 42, 155)
HSLhsl(294, 57%, 39%)
HSVhsv(294, 73%, 61%)
CMYKcmyk(7.1%, 72.9%, 0%, 39.2%)
CIE-LABlab(37.76, 56.72, -40.24)
CIE-LCHlch(37.76, 69.54, 324.65°)
OKLaboklab(48.82% 0.1526 -0.1122)
OKLCHoklch(48.82% 0.189 323.7)
XYZxyz(18.2454, 9.9529, 31.9641)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A9B #359B2A
analogous
#572A9B #902A9B #9B2A6D
triadic
#902A9B #9B902A #2A9B90
tetradic
#902A9B #9B572A #359B2A #2A6D9B
square
#902A9B #9B572A #359B2A #2A6D9B
split-complementary
#902A9B #6D9B2A #2A9B57
monochromatic
#37103B #631D6B #902A9B #BB39C9 #CC69D6

Accessibility & contrast

On white

7.02
#902A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#902A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A9B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A9B#FFFFFF#000000##FFFFFF
##902A9B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#933E60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902a9b;
/* rgb */ color: rgb(144, 42, 155);
/* oklch */ color: oklch(48.8% 0.189 323.7);
Tailwind
colors: {
  custom: {
    50: '#b46eb9',
    500: '#902a9b',
    950: '#000000',
  },
}
SCSS
$custom: #902a9b;
$custom-light: #b46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#902a9b",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 294.159,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.1894,
    "h": 323.7
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#902A9B
secondary
#6DBD64
accent
#E14756
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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