#902FA1#902FA1

#902FA1 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.189 H 321.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#902FA1
RGBrgb(144, 47, 161)
HSLhsl(291, 55%, 41%)
HSVhsv(291, 71%, 63%)
CMYKcmyk(10.6%, 70.8%, 0%, 36.9%)
CIE-LABlab(38.79, 55.94, -42.21)
CIE-LCHlch(38.79, 70.08, 322.96°)
OKLaboklab(49.67% 0.1472 -0.118)
OKLCHoklch(49.67% 0.189 321.3)
XYZxyz(18.9504, 10.5365, 34.7469)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902FA1 #40A12F
analogous
#572FA1 #902FA1 #A12F79
triadic
#902FA1 #A1902F #2FA190
tetradic
#902FA1 #A1572F #40A12F #2F79A1
square
#902FA1 #A1572F #40A12F #2F79A1
split-complementary
#902FA1 #79A12F #2FA157
monochromatic
#3B1342 #662172 #902FA1 #B545C9 #C874D6

Accessibility & contrast

On white

6.76
#902FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902FA1
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902FA1#FFFFFF#000000##FFFFFF
##902FA11.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#3C5F9E
Tritanopia (blue-blind)
#914465
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902fa1;
/* rgb */ color: rgb(144, 47, 161);
/* oklch */ color: oklch(49.7% 0.189 321.3);
Tailwind
colors: {
  custom: {
    50: '#b470bd',
    500: '#902fa1',
    950: '#000000',
  },
}
SCSS
$custom: #902fa1;
$custom-light: #b470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#902fa1",
  "rgb": {
    "r": 144,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 291.053,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49672,
    "c": 0.18866,
    "h": 321.3
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#902FA1
secondary
#7ABE6E
accent
#DE4A60
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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