#902EC0#902EC0

#902EC0 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.218 H 311.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#902EC0
RGBrgb(144, 46, 192)
HSLhsl(280, 61%, 47%)
HSVhsv(280, 76%, 75%)
CMYKcmyk(25%, 76%, 0%, 24.7%)
CIE-LABlab(40.72, 62.48, -57.49)
CIE-LCHlch(40.72, 84.90, 317.38°)
OKLaboklab(51.7% 0.1446 -0.1628)
OKLCHoklch(51.7% 0.218 311.6)
XYZxyz(21.9912, 11.6896, 50.9568)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EC0 #5EC02E
analogous
#472EC0 #902EC0 #C02EA7
triadic
#902EC0 #C0902E #2EC090
tetradic
#902EC0 #C0472E #5EC02E #2EA7C0
square
#902EC0 #C0472E #5EC02E #2EA7C0
split-complementary
#902EC0 #A7C02E #2EC047
monochromatic
#46165D #6B228F #902EC0 #AC55D6 #C486E2

Accessibility & contrast

On white

6.29
#902EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#902EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EC0
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EC0#FFFFFF#000000##FFFFFF
##902EC01.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#1162BD
Tritanopia (blue-blind)
#8A5176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #902ec0;
/* rgb */ color: rgb(144, 46, 192);
/* oklch */ color: oklch(51.7% 0.218 311.6);
Tailwind
colors: {
  custom: {
    50: '#b571d4',
    500: '#902ec0',
    950: '#000000',
  },
}
SCSS
$custom: #902ec0;
$custom-light: #b571d4;
$custom-dark: #000000;
JSON
{
  "hex": "#902ec0",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 280.274,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.21772,
    "h": 311.6
  },
  "luminance": 0.11689
}

Semantic roles & 50–950 ramp

primary
#902EC0
secondary
#98CC7E
accent
#E44378
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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