#902EBA#902EBA

#902EBA is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.212 H 313.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#902EBA
RGBrgb(144, 46, 186)
HSLhsl(282, 60%, 45%)
HSVhsv(282, 75%, 73%)
CMYKcmyk(22.6%, 75.3%, 0%, 27.1%)
CIE-LABlab(40.29, 61.25, -54.65)
CIE-LCHlch(40.29, 82.09, 318.26°)
OKLaboklab(51.27% 0.1456 -0.1544)
OKLCHoklch(51.27% 0.212 313.3)
XYZxyz(21.3400, 11.4291, 47.5268)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902EBA #58BA2E
analogous
#4A2EBA #902EBA #BA2E9E
triadic
#902EBA #BA902E #2EBA90
tetradic
#902EBA #BA4A2E #58BA2E #2E9EBA
square
#902EBA #BA4A2E #58BA2E #2E9EBA
split-complementary
#902EBA #9EBA2E #2EBA4A
monochromatic
#441658 #6A2289 #902EBA #AD51D4 #C482E0

Accessibility & contrast

On white

6.39
#902EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#902EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902EBA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902EBA#FFFFFF#000000##FFFFFF
##902EBA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#1F61B7
Tritanopia (blue-blind)
#8C4E72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #902eba;
/* rgb */ color: rgb(144, 46, 186);
/* oklch */ color: oklch(51.3% 0.212 313.3);
Tailwind
colors: {
  custom: {
    50: '#b571d0',
    500: '#902eba',
    950: '#000000',
  },
}
SCSS
$custom: #902eba;
$custom-light: #b571d0;
$custom-dark: #000000;
JSON
{
  "hex": "#902eba",
  "rgb": {
    "r": 144,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 282,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51265,
    "c": 0.21227,
    "h": 313.3
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

primary
#902EBA
secondary
#92C97B
accent
#E34474
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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