#902FA2#902FA2

#902FA2 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.190 H 320.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#902FA2
RGBrgb(144, 47, 162)
HSLhsl(291, 55%, 41%)
HSVhsv(291, 71%, 64%)
CMYKcmyk(11.1%, 71%, 0%, 36.5%)
CIE-LABlab(38.85, 56.13, -42.71)
CIE-LCHlch(38.85, 70.53, 322.73°)
OKLaboklab(49.74% 0.1472 -0.1194)
OKLCHoklch(49.74% 0.19 320.9)
XYZxyz(19.0389, 10.5720, 35.2132)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA2 #41A22F
analogous
#562FA2 #902FA2 #A22F7A
triadic
#902FA2 #A2902F #2FA290
tetradic
#902FA2 #A2562F #41A22F #2F7AA2
square
#902FA2 #A2562F #41A22F #2F7AA2
split-complementary
#902FA2 #7AA22F #2FA256
monochromatic
#3C1343 #662173 #902FA2 #B445C9 #C775D7

Accessibility & contrast

On white

6.74
#902FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#902FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902FA2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA2#FFFFFF#000000##FFFFFF
##902FA21.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#3C5F9F
Tritanopia (blue-blind)
#914465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902fa2;
/* rgb */ color: rgb(144, 47, 162);
/* oklch */ color: oklch(49.7% 0.190 320.9);
Tailwind
colors: {
  custom: {
    50: '#b471be',
    500: '#902fa2',
    950: '#000000',
  },
}
SCSS
$custom: #902fa2;
$custom-light: #b471be;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa2",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 290.609,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49736,
    "c": 0.18955,
    "h": 320.9
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#902FA2
secondary
#7BBF6E
accent
#DE4961
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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