#902BB4#902BB4

#902BB4 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.210 H 315.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#902BB4
RGBrgb(144, 43, 180)
HSLhsl(284, 61%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20%, 76.1%, 0%, 29.4%)
CIE-LABlab(39.50, 61.12, -52.40)
CIE-LCHlch(39.50, 80.51, 319.40°)
OKLaboklab(50.57% 0.1492 -0.1478)
OKLCHoklch(50.57% 0.21 315.3)
XYZxyz(20.6024, 10.9531, 44.2001)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB4 #4FB42B
analogous
#4C2BB4 #902BB4 #B42B93
triadic
#902BB4 #B4902B #2BB490
tetradic
#902BB4 #B44C2B #4FB42B #2B93B4
square
#902BB4 #B44C2B #4FB42B #2B93B4
split-complementary
#902BB4 #93B42B #2BB44C
monochromatic
#411351 #681F83 #902BB4 #AF49D3 #C57ADF

Accessibility & contrast

On white

6.58
#902BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#902BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB4
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB4#FFFFFF#000000##FFFFFF
##902BB41.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#8D4A6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902bb4;
/* rgb */ color: rgb(144, 43, 180);
/* oklch */ color: oklch(50.6% 0.210 315.3);
Tailwind
colors: {
  custom: {
    50: '#b56fcb',
    500: '#902bb4',
    950: '#000000',
  },
}
SCSS
$custom: #902bb4;
$custom-light: #b56fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb4",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 284.234,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50573,
    "c": 0.21003,
    "h": 315.3
  },
  "luminance": 0.10952
}

Semantic roles & 50–950 ramp

primary
#902BB4
secondary
#89C773
accent
#E5436E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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