#902FA4#902FA4

#902FA4 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.191 H 320.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#902FA4
RGBrgb(144, 47, 164)
HSLhsl(290, 55%, 41%)
HSVhsv(290, 71%, 64%)
CMYKcmyk(12.2%, 71.3%, 0%, 35.7%)
CIE-LABlab(38.97, 56.51, -43.71)
CIE-LCHlch(38.97, 71.45, 322.28°)
OKLaboklab(49.86% 0.1471 -0.1224)
OKLCHoklch(49.86% 0.191 320.2)
XYZxyz(19.2181, 10.6436, 36.1569)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA4 #43A42F
analogous
#562FA4 #902FA4 #A42F7E
triadic
#902FA4 #A4902F #2FA490
tetradic
#902FA4 #A4562F #43A42F #2F7EA4
square
#902FA4 #A4562F #43A42F #2F7EA4
split-complementary
#902FA4 #7EA42F #2FA456
monochromatic
#3C1445 #662174 #902FA4 #B346CA #C776D8

Accessibility & contrast

On white

6.71
#902FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA4
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA4#FFFFFF#000000##FFFFFF
##902FA41.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#914566
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902fa4;
/* rgb */ color: rgb(144, 47, 164);
/* oklch */ color: oklch(49.9% 0.191 320.2);
Tailwind
colors: {
  custom: {
    50: '#b471bf',
    500: '#902fa4',
    950: '#000000',
  },
}
SCSS
$custom: #902fa4;
$custom-light: #b471bf;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa4",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 289.744,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.19133,
    "h": 320.2
  },
  "luminance": 0.10643
}

Semantic roles & 50–950 ramp

primary
#902FA4
secondary
#7DC06F
accent
#DF4963
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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