#902EB2#902EB2

#902EB2 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.205 H 315.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#902EB2
RGBrgb(144, 46, 178)
HSLhsl(285, 59%, 44%)
HSVhsv(285, 74%, 70%)
CMYKcmyk(19.1%, 74.2%, 0%, 30.2%)
CIE-LABlab(39.75, 59.63, -50.82)
CIE-LCHlch(39.75, 78.35, 319.56°)
OKLaboklab(50.7% 0.1468 -0.1432)
OKLCHoklch(50.7% 0.205 315.7)
XYZxyz(20.5132, 11.0984, 43.1725)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EB2 #50B22E
analogous
#4E2EB2 #902EB2 #B22E92
triadic
#902EB2 #B2902E #2EB290
tetradic
#902EB2 #B24E2E #50B22E #2E92B2
square
#902EB2 #B24E2E #50B22E #2E92B2
split-complementary
#902EB2 #92B22E #2EB24E
monochromatic
#411551 #692181 #902EB2 #AF4CD1 #C57DDD

Accessibility & contrast

On white

6.52
#902EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#902EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EB2
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EB2#FFFFFF#000000##FFFFFF
##902EB21.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#2B60AF
Tritanopia (blue-blind)
#8E4A6E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902eb2;
/* rgb */ color: rgb(144, 46, 178);
/* oklch */ color: oklch(50.7% 0.205 315.7);
Tailwind
colors: {
  custom: {
    50: '#b571ca',
    500: '#902eb2',
    950: '#000000',
  },
}
SCSS
$custom: #902eb2;
$custom-light: #b571ca;
$custom-dark: #000000;
JSON
{
  "hex": "#902eb2",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 284.545,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.20503,
    "h": 315.7
  },
  "luminance": 0.11098
}

Semantic roles & 50–950 ramp

primary
#902EB2
secondary
#8AC676
accent
#E2466E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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