#902AAF#902AAF

#902AAF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.207 H 316.9°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#902AAF
RGBrgb(144, 42, 175)
HSLhsl(286, 61%, 43%)
HSVhsv(286, 76%, 69%)
CMYKcmyk(17.7%, 76%, 0%, 31.4%)
CIE-LABlab(39.04, 60.49, -50.18)
CIE-LCHlch(39.04, 78.59, 320.32°)
OKLaboklab(50.14% 0.1508 -0.1413)
OKLCHoklch(50.14% 0.207 316.9)
XYZxyz(20.0663, 10.6812, 41.5538)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902AAF #49AF2A
analogous
#4E2AAF #902AAF #AF2A8B
triadic
#902AAF #AF902A #2AAF90
tetradic
#902AAF #AF4E2A #49AF2A #2A8BAF
square
#902AAF #AF4E2A #49AF2A #2A8BAF
split-complementary
#902AAF #8BAF2A #2AAF4E
monochromatic
#3F124C #671E7E #902AAF #B144D2 #C675DE

Accessibility & contrast

On white

6.70
#902AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#902AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902AAF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902AAF#FFFFFF#000000##FFFFFF
##902AAF1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#8E476B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902aaf;
/* rgb */ color: rgb(144, 42, 175);
/* oklch */ color: oklch(50.1% 0.207 316.9);
Tailwind
colors: {
  custom: {
    50: '#b56fc8',
    500: '#902aaf',
    950: '#000000',
  },
}
SCSS
$custom: #902aaf;
$custom-light: #b56fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#902aaf",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 286.015,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.20667,
    "h": 316.9
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#902AAF
secondary
#83C66F
accent
#E44369
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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