#902FAD#902FAD

#902FAD is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.199 H 317.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#902FAD
RGBrgb(144, 47, 173)
HSLhsl(286, 57%, 43%)
HSVhsv(286, 73%, 68%)
CMYKcmyk(16.8%, 72.8%, 0%, 32.2%)
CIE-LABlab(39.55, 58.26, -48.17)
CIE-LCHlch(39.55, 75.60, 320.42°)
OKLaboklab(50.46% 0.1464 -0.1354)
OKLCHoklch(50.46% 0.199 317.2)
XYZxyz(20.0598, 10.9803, 40.5898)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FAD #4CAD2F
analogous
#512FAD #902FAD #AD2F8B
triadic
#902FAD #AD902F #2FAD90
tetradic
#902FAD #AD512F #4CAD2F #2F8BAD
square
#902FAD #AD512F #4CAD2F #2F8BAD
split-complementary
#902FAD #8BAD2F #2FAD51
monochromatic
#40154D #68227D #902FAD #B04BCE #C57BDB

Accessibility & contrast

On white

6.57
#902FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#902FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FAD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FAD#FFFFFF#000000##FFFFFF
##902FAD1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#3260AA
Tritanopia (blue-blind)
#8F496B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902fad;
/* rgb */ color: rgb(144, 47, 173);
/* oklch */ color: oklch(50.5% 0.199 317.2);
Tailwind
colors: {
  custom: {
    50: '#b471c6',
    500: '#902fad',
    950: '#000000',
  },
}
SCSS
$custom: #902fad;
$custom-light: #b471c6;
$custom-dark: #000000;
JSON
{
  "hex": "#902fad",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 286.19,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.19939,
    "h": 317.2
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#902FAD
secondary
#86C474
accent
#E1476B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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