#902EC1#902EC1

#902EC1 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.219 H 311.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#902EC1
RGBrgb(144, 46, 193)
HSLhsl(280, 62%, 47%)
HSVhsv(280, 76%, 76%)
CMYKcmyk(25.4%, 76.2%, 0%, 24.3%)
CIE-LABlab(40.79, 62.68, -57.96)
CIE-LCHlch(40.79, 85.37, 317.24°)
OKLaboklab(51.77% 0.1444 -0.1641)
OKLCHoklch(51.77% 0.219 311.3)
XYZxyz(22.1024, 11.7341, 51.5423)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EC1 #5FC12E
analogous
#472EC1 #902EC1 #C12EA9
triadic
#902EC1 #C1902E #2EC190
tetradic
#902EC1 #C1472E #5FC12E #2EA9C1
square
#902EC1 #C1472E #5FC12E #2EA9C1
split-complementary
#902EC1 #A9C12E #2EC147
monochromatic
#46165E #6B2290 #902EC1 #AC56D7 #C487E2

Accessibility & contrast

On white

6.27
#902EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#902EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EC1
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EC1#FFFFFF#000000##FFFFFF
##902EC11.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0E62BE
Tritanopia (blue-blind)
#8A5176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902ec1;
/* rgb */ color: rgb(144, 46, 193);
/* oklch */ color: oklch(51.8% 0.219 311.3);
Tailwind
colors: {
  custom: {
    50: '#b571d5',
    500: '#902ec1',
    950: '#000000',
  },
}
SCSS
$custom: #902ec1;
$custom-light: #b571d5;
$custom-dark: #000000;
JSON
{
  "hex": "#902ec1",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 280,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51772,
    "c": 0.21864,
    "h": 311.3
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#902EC1
secondary
#99CC7F
accent
#E54379
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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