#902EB8#902EB8

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

Color values

HEX#902EB8
RGBrgb(144, 46, 184)
HSLhsl(283, 60%, 45%)
HSVhsv(283, 75%, 72%)
CMYKcmyk(21.7%, 75%, 0%, 27.8%)
CIE-LABlab(40.16, 60.84, -53.70)
CIE-LCHlch(40.16, 81.15, 318.57°)
OKLaboklab(51.12% 0.1459 -0.1516)
OKLCHoklch(51.12% 0.21 313.9)
XYZxyz(21.1288, 11.3447, 46.4148)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EB8 #56B82E
analogous
#4B2EB8 #902EB8 #B82E9B
triadic
#902EB8 #B8902E #2EB890
tetradic
#902EB8 #B84B2E #56B82E #2E9BB8
square
#902EB8 #B84B2E #56B82E #2E9BB8
split-complementary
#902EB8 #9BB82E #2EB84B
monochromatic
#431656 #6A2287 #902EB8 #AD50D3 #C481DF

Accessibility & contrast

On white

6.42
#902EB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#902EB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EB8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EB8#FFFFFF#000000##FFFFFF
##902EB81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BC
Deuteranopia (green-blind)
#2361B5
Tritanopia (blue-blind)
#8C4D71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902eb8;
/* rgb */ color: rgb(144, 46, 184);
/* oklch */ color: oklch(51.1% 0.210 313.9);
Tailwind
colors: {
  custom: {
    50: '#b571ce',
    500: '#902eb8',
    950: '#000000',
  },
}
SCSS
$custom: #902eb8;
$custom-light: #b571ce;
$custom-dark: #000000;
JSON
{
  "hex": "#902eb8",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 282.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51122,
    "c": 0.21046,
    "h": 313.9
  },
  "luminance": 0.11344
}

Semantic roles & 50–950 ramp

primary
#902EB8
secondary
#90C879
accent
#E34573
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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