#902EAF#902EAF

#902EAF is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.202 H 316.6°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#902EAF
RGBrgb(144, 46, 175)
HSLhsl(286, 58%, 43%)
HSVhsv(286, 74%, 69%)
CMYKcmyk(17.7%, 73.7%, 0%, 31.4%)
CIE-LABlab(39.55, 59.04, -49.36)
CIE-LCHlch(39.55, 76.95, 320.10°)
OKLaboklab(50.5% 0.1471 -0.1389)
OKLCHoklch(50.5% 0.202 316.6)
XYZxyz(20.2153, 10.9793, 41.6035)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EAF #4DAF2E
analogous
#4F2EAF #902EAF #AF2E8D
triadic
#902EAF #AF902E #2EAF90
tetradic
#902EAF #AF4F2E #4DAF2E #2E8DAF
square
#902EAF #AF4F2E #4DAF2E #2E8DAF
split-complementary
#902EAF #8DAF2E #2EAF4F
monochromatic
#40154E #68217F #902EAF #B04BD0 #C57BDC

Accessibility & contrast

On white

6.57
#902EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#902EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EAF
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EAF#FFFFFF#000000##FFFFFF
##902EAF1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2F60AC
Tritanopia (blue-blind)
#8E496C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902eaf;
/* rgb */ color: rgb(144, 46, 175);
/* oklch */ color: oklch(50.5% 0.202 316.6);
Tailwind
colors: {
  custom: {
    50: '#b471c8',
    500: '#902eaf',
    950: '#000000',
  },
}
SCSS
$custom: #902eaf;
$custom-light: #b471c8;
$custom-dark: #000000;
JSON
{
  "hex": "#902eaf",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 285.581,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50497,
    "c": 0.20233,
    "h": 316.6
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#902EAF
secondary
#87C574
accent
#E2466C
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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