#902EA2#902EA2

#902EA2 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.191 H 321.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#902EA2
RGBrgb(144, 46, 162)
HSLhsl(291, 56%, 41%)
HSVhsv(291, 72%, 64%)
CMYKcmyk(11.1%, 71.6%, 0%, 36.5%)
CIE-LABlab(38.71, 56.52, -42.93)
CIE-LCHlch(38.71, 70.98, 322.78°)
OKLaboklab(49.64% 0.1482 -0.1201)
OKLCHoklch(49.64% 0.191 321)
XYZxyz(18.9994, 10.4929, 35.2000)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA2 #40A22E
analogous
#562EA2 #902EA2 #A22E7A
triadic
#902EA2 #A2902E #2EA290
tetradic
#902EA2 #A2562E #40A22E #2E7AA2
square
#902EA2 #A2562E #40A22E #2E7AA2
split-complementary
#902EA2 #7AA22E #2EA256
monochromatic
#3B1343 #662072 #902EA2 #B543CA #C873D7

Accessibility & contrast

On white

6.78
#902EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#902EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EA2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA2#FFFFFF#000000##FFFFFF
##902EA21.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3B5F9F
Tritanopia (blue-blind)
#914365
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #902ea2;
/* rgb */ color: rgb(144, 46, 162);
/* oklch */ color: oklch(49.6% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#b470be',
    500: '#902ea2',
    950: '#000000',
  },
}
SCSS
$custom: #902ea2;
$custom-light: #b470be;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea2",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 290.69,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49638,
    "c": 0.19075,
    "h": 321
  },
  "luminance": 0.10492
}

Semantic roles & 50–950 ramp

primary
#902EA2
secondary
#7ABF6D
accent
#DF4960
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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