#902FA8#902FA8

#902FA8 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 318.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#902FA8
RGBrgb(144, 47, 168)
HSLhsl(288, 56%, 42%)
HSVhsv(288, 72%, 66%)
CMYKcmyk(14.3%, 72%, 0%, 34.1%)
CIE-LABlab(39.23, 57.28, -45.71)
CIE-LCHlch(39.23, 73.28, 321.41°)
OKLaboklab(50.12% 0.1468 -0.1282)
OKLCHoklch(50.12% 0.195 318.9)
XYZxyz(19.5851, 10.7904, 38.0893)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA8 #47A82F
analogous
#532FA8 #902FA8 #A82F84
triadic
#902FA8 #A8902F #2FA890
tetradic
#902FA8 #A8532F #47A82F #2F84A8
square
#902FA8 #A8532F #47A82F #2F84A8
split-complementary
#902FA8 #84A82F #2FA853
monochromatic
#3E1448 #672278 #902FA8 #B248CC #C678D9

Accessibility & contrast

On white

6.65
#902FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#902FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA8#FFFFFF#000000##FFFFFF
##902FA81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#904769
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902fa8;
/* rgb */ color: rgb(144, 47, 168);
/* oklch */ color: oklch(50.1% 0.195 318.9);
Tailwind
colors: {
  custom: {
    50: '#b471c2',
    500: '#902fa8',
    950: '#000000',
  },
}
SCSS
$custom: #902fa8;
$custom-light: #b471c2;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa8",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 288.099,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50124,
    "c": 0.1949,
    "h": 318.9
  },
  "luminance": 0.10789
}

Semantic roles & 50–950 ramp

primary
#902FA8
secondary
#81C171
accent
#E04866
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #902FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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