#902A9C#902A9C

#902A9C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.190 H 323.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#902A9C
RGBrgb(144, 42, 156)
HSLhsl(294, 58%, 39%)
HSVhsv(294, 73%, 61%)
CMYKcmyk(7.7%, 73.1%, 0%, 38.8%)
CIE-LABlab(37.82, 56.90, -40.74)
CIE-LCHlch(37.82, 69.98, 324.39°)
OKLaboklab(48.88% 0.1526 -0.1137)
OKLCHoklch(48.88% 0.19 323.3)
XYZxyz(18.3298, 9.9866, 32.4082)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A9C #369C2A
analogous
#572A9C #902A9C #9C2A6F
triadic
#902A9C #9C902A #2A9C90
tetradic
#902A9C #9C572A #369C2A #2A6F9C
square
#902A9C #9C572A #369C2A #2A6F9C
split-complementary
#902A9C #6F9C2A #2A9C57
monochromatic
#37103C #631D6C #902A9C #BB39CA #CB6AD7

Accessibility & contrast

On white

7.01
#902A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#902A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902A9C
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A9C#FFFFFF#000000##FFFFFF
##902A9C1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#3D5D99
Tritanopia (blue-blind)
#923E61
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902a9c;
/* rgb */ color: rgb(144, 42, 156);
/* oklch */ color: oklch(48.9% 0.190 323.3);
Tailwind
colors: {
  custom: {
    50: '#b46eba',
    500: '#902a9c',
    950: '#000000',
  },
}
SCSS
$custom: #902a9c;
$custom-light: #b46eba;
$custom-dark: #000000;
JSON
{
  "hex": "#902a9c",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 293.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4888,
    "c": 0.19025,
    "h": 323.3
  },
  "luminance": 0.09986
}

Semantic roles & 50–950 ramp

primary
#902A9C
secondary
#6EBD65
accent
#E14757
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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