#902EBD#902EBD

#902EBD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.215 H 312.5°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#902EBD
RGBrgb(144, 46, 189)
HSLhsl(281, 61%, 46%)
HSVhsv(281, 76%, 74%)
CMYKcmyk(23.8%, 75.7%, 0%, 25.9%)
CIE-LABlab(40.50, 61.86, -56.08)
CIE-LCHlch(40.50, 83.49, 317.81°)
OKLaboklab(51.48% 0.1451 -0.1586)
OKLCHoklch(51.48% 0.215 312.5)
XYZxyz(21.6622, 11.5580, 49.2241)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EBD #5BBD2E
analogous
#482EBD #902EBD #BD2EA2
triadic
#902EBD #BD902E #2EBD90
tetradic
#902EBD #BD482E #5BBD2E #2EA2BD
square
#902EBD #BD482E #5BBD2E #2EA2BD
split-complementary
#902EBD #A2BD2E #2EBD48
monochromatic
#45165B #6A228C #902EBD #AC53D5 #C484E1

Accessibility & contrast

On white

6.34
#902EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#902EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EBD
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EBD#FFFFFF#000000##FFFFFF
##902EBD1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1961BA
Tritanopia (blue-blind)
#8B4F74
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902ebd;
/* rgb */ color: rgb(144, 46, 189);
/* oklch */ color: oklch(51.5% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#b571d2',
    500: '#902ebd',
    950: '#000000',
  },
}
SCSS
$custom: #902ebd;
$custom-light: #b571d2;
$custom-dark: #000000;
JSON
{
  "hex": "#902ebd",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 281.119,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.215,
    "h": 312.5
  },
  "luminance": 0.11557
}

Semantic roles & 50–950 ramp

primary
#902EBD
secondary
#95CA7C
accent
#E44476
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #902EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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