#902EB9#902EB9

#902EB9 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.211 H 313.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#902EB9
RGBrgb(144, 46, 185)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.2%, 75.1%, 0%, 27.5%)
CIE-LABlab(40.22, 61.04, -54.18)
CIE-LCHlch(40.22, 81.62, 318.41°)
OKLaboklab(51.19% 0.1458 -0.153)
OKLCHoklch(51.19% 0.211 313.6)
XYZxyz(21.2340, 11.3868, 46.9689)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EB9 #57B92E
analogous
#4A2EB9 #902EB9 #B92E9C
triadic
#902EB9 #B9902E #2EB990
tetradic
#902EB9 #B94A2E #57B92E #2E9CB9
square
#902EB9 #B94A2E #57B92E #2E9CB9
split-complementary
#902EB9 #9CB92E #2EB94A
monochromatic
#441657 #6A2288 #902EB9 #AD51D4 #C482E0

Accessibility & contrast

On white

6.41
#902EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#902EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EB9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EB9#FFFFFF#000000##FFFFFF
##902EB91.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#2161B6
Tritanopia (blue-blind)
#8C4D72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902eb9;
/* rgb */ color: rgb(144, 46, 185);
/* oklch */ color: oklch(51.2% 0.211 313.6);
Tailwind
colors: {
  custom: {
    50: '#b571cf',
    500: '#902eb9',
    950: '#000000',
  },
}
SCSS
$custom: #902eb9;
$custom-light: #b571cf;
$custom-dark: #000000;
JSON
{
  "hex": "#902eb9",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 282.302,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51193,
    "c": 0.21136,
    "h": 313.6
  },
  "luminance": 0.11386
}

Semantic roles & 50–950 ramp

primary
#902EB9
secondary
#91C97A
accent
#E34473
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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