#902EB7#902EB7

#902EB7 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.210 H 314.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#902EB7
RGBrgb(144, 46, 183)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(21.3%, 74.9%, 0%, 28.2%)
CIE-LABlab(40.09, 60.64, -53.22)
CIE-LCHlch(40.09, 80.68, 318.73°)
OKLaboklab(51.05% 0.1461 -0.1502)
OKLCHoklch(51.05% 0.21 314.2)
XYZxyz(21.0244, 11.3029, 45.8647)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EB7 #55B72E
analogous
#4C2EB7 #902EB7 #B72E99
triadic
#902EB7 #B7902E #2EB790
tetradic
#902EB7 #B74C2E #55B72E #2E99B7
square
#902EB7 #B74C2E #55B72E #2E99B7
split-complementary
#902EB7 #99B72E #2EB74C
monochromatic
#431555 #6A2286 #902EB7 #AD4FD3 #C480DF

Accessibility & contrast

On white

6.44
#902EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#902EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EB7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EB7#FFFFFF#000000##FFFFFF
##902EB71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BB
Deuteranopia (green-blind)
#2461B4
Tritanopia (blue-blind)
#8C4D71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902eb7;
/* rgb */ color: rgb(144, 46, 183);
/* oklch */ color: oklch(51.1% 0.210 314.2);
Tailwind
colors: {
  custom: {
    50: '#b571cd',
    500: '#902eb7',
    950: '#000000',
  },
}
SCSS
$custom: #902eb7;
$custom-light: #b571cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902eb7",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 282.92,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51052,
    "c": 0.20955,
    "h": 314.2
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#902EB7
secondary
#8FC879
accent
#E34572
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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