#902EB4#902EB4

#902EB4 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.207 H 315.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#902EB4
RGBrgb(144, 46, 180)
HSLhsl(284, 59%, 44%)
HSVhsv(284, 74%, 71%)
CMYKcmyk(20%, 74.4%, 0%, 29.4%)
CIE-LABlab(39.88, 60.03, -51.78)
CIE-LCHlch(39.88, 79.28, 319.22°)
OKLaboklab(50.84% 0.1465 -0.146)
OKLCHoklch(50.84% 0.207 315.1)
XYZxyz(20.7155, 11.1793, 44.2378)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EB4 #52B42E
analogous
#4D2EB4 #902EB4 #B42E95
triadic
#902EB4 #B4902E #2EB490
tetradic
#902EB4 #B44D2E #52B42E #2E95B4
square
#902EB4 #B44D2E #52B42E #2E95B4
split-complementary
#902EB4 #95B42E #2EB44D
monochromatic
#421553 #692283 #902EB4 #AE4ED2 #C47EDE

Accessibility & contrast

On white

6.49
#902EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#902EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EB4
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EB4#FFFFFF#000000##FFFFFF
##902EB41.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#2960B1
Tritanopia (blue-blind)
#8D4B6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902eb4;
/* rgb */ color: rgb(144, 46, 180);
/* oklch */ color: oklch(50.8% 0.207 315.1);
Tailwind
colors: {
  custom: {
    50: '#b571cb',
    500: '#902eb4',
    950: '#000000',
  },
}
SCSS
$custom: #902eb4;
$custom-light: #b571cb;
$custom-dark: #000000;
JSON
{
  "hex": "#902eb4",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 283.881,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50841,
    "c": 0.20684,
    "h": 315.1
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#902EB4
secondary
#8CC777
accent
#E24570
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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