#902BB6#902BB6

#902BB6 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.7% C 0.212 H 314.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#902BB6
RGBrgb(144, 43, 182)
HSLhsl(284, 62%, 44%)
HSVhsv(284, 76%, 71%)
CMYKcmyk(20.9%, 76.4%, 0%, 28.6%)
CIE-LABlab(39.64, 61.52, -53.35)
CIE-LCHlch(39.64, 81.43, 319.07°)
OKLaboklab(50.71% 0.1489 -0.1506)
OKLCHoklch(50.71% 0.212 314.7)
XYZxyz(20.8076, 11.0352, 45.2808)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB6 #51B62B
analogous
#4B2BB6 #902BB6 #B62B97
triadic
#902BB6 #B6902B #2BB690
tetradic
#902BB6 #B64B2B #51B62B #2B97B6
square
#902BB6 #B64B2B #51B62B #2B97B6
split-complementary
#902BB6 #97B62B #2BB64B
monochromatic
#421453 #691F84 #902BB6 #AE4AD4 #C47BE0

Accessibility & contrast

On white

6.55
#902BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#902BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB6
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB6#FFFFFF#000000##FFFFFF
##902BB61.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2360B3
Tritanopia (blue-blind)
#8D4B6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #902bb6;
/* rgb */ color: rgb(144, 43, 182);
/* oklch */ color: oklch(50.7% 0.212 314.7);
Tailwind
colors: {
  custom: {
    50: '#b570cd',
    500: '#902bb6',
    950: '#000000',
  },
}
SCSS
$custom: #902bb6;
$custom-light: #b570cd;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb6",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 283.597,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.21181,
    "h": 314.7
  },
  "luminance": 0.11034
}

Semantic roles & 50–950 ramp

primary
#902BB6
secondary
#8BC875
accent
#E5436F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #902BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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