#902EAC#902EAC

#902EAC is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.200 H 317.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#902EAC
RGBrgb(144, 46, 172)
HSLhsl(287, 58%, 43%)
HSVhsv(287, 73%, 67%)
CMYKcmyk(16.3%, 73.3%, 0%, 32.5%)
CIE-LABlab(39.35, 58.45, -47.89)
CIE-LCHlch(39.35, 75.56, 320.67°)
OKLaboklab(50.29% 0.1474 -0.1346)
OKLCHoklch(50.29% 0.2 317.6)
XYZxyz(19.9239, 10.8627, 40.0689)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EAC #4AAC2E
analogous
#512EAC #902EAC #AC2E89
triadic
#902EAC #AC902E #2EAC90
tetradic
#902EAC #AC512E #4AAC2E #2E89AC
square
#902EAC #AC512E #4AAC2E #2E89AC
split-complementary
#902EAC #89AC2E #2EAC51
monochromatic
#3F144B #68217C #902EAC #B149CE #C579DB

Accessibility & contrast

On white

6.62
#902EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#902EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EAC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EAC#FFFFFF#000000##FFFFFF
##902EAC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3260A9
Tritanopia (blue-blind)
#8F486B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902eac;
/* rgb */ color: rgb(144, 46, 172);
/* oklch */ color: oklch(50.3% 0.200 317.6);
Tailwind
colors: {
  custom: {
    50: '#b470c5',
    500: '#902eac',
    950: '#000000',
  },
}
SCSS
$custom: #902eac;
$custom-light: #b470c5;
$custom-dark: #000000;
JSON
{
  "hex": "#902eac",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 286.667,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50294,
    "c": 0.19965,
    "h": 317.6
  },
  "luminance": 0.10862
}

Semantic roles & 50–950 ramp

primary
#902EAC
secondary
#84C372
accent
#E14769
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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