#902EA6#902EA6

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

Color values

HEX#902EA6
RGBrgb(144, 46, 166)
HSLhsl(289, 57%, 42%)
HSVhsv(289, 72%, 65%)
CMYKcmyk(13.3%, 72.3%, 0%, 34.9%)
CIE-LABlab(38.96, 57.28, -44.93)
CIE-LCHlch(38.96, 72.80, 321.89°)
OKLaboklab(49.9% 0.148 -0.1259)
OKLCHoklch(49.9% 0.194 319.6)
XYZxyz(19.3607, 10.6374, 37.1024)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EA6 #44A62E
analogous
#542EA6 #902EA6 #A62E80
triadic
#902EA6 #A6902E #2EA690
tetradic
#902EA6 #A6542E #44A62E #2E80A6
square
#902EA6 #A6542E #44A62E #2E80A6
split-complementary
#902EA6 #80A62E #2EA654
monochromatic
#3D1346 #662176 #902EA6 #B346CC #C776D9

Accessibility & contrast

On white

6.72
#902EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #902EA6
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EA6#FFFFFF#000000##FFFFFF
##902EA61.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A9
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#904567
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902ea6;
/* rgb */ color: rgb(144, 46, 166);
/* oklch */ color: oklch(49.9% 0.194 319.6);
Tailwind
colors: {
  custom: {
    50: '#b470c1',
    500: '#902ea6',
    950: '#000000',
  },
}
SCSS
$custom: #902ea6;
$custom-light: #b470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#902ea6",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 289,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49896,
    "c": 0.19429,
    "h": 319.6
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#902EA6
secondary
#7EC16F
accent
#E04864
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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