#902BBB#902BBB

#902BBB is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.1% C 0.216 H 313.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#902BBB
RGBrgb(144, 43, 187)
HSLhsl(282, 63%, 45%)
HSVhsv(282, 77%, 73%)
CMYKcmyk(23%, 77%, 0%, 26.7%)
CIE-LABlab(39.99, 62.52, -55.73)
CIE-LCHlch(39.99, 83.76, 318.29°)
OKLaboklab(51.07% 0.1481 -0.1576)
OKLCHoklch(51.07% 0.216 313.2)
XYZxyz(21.3335, 11.2456, 48.0509)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BBB #56BB2B
analogous
#482BBB #902BBB #BB2B9E
triadic
#902BBB #BB902B #2BBB90
tetradic
#902BBB #BB482B #56BB2B #2B9EBB
square
#902BBB #BB482B #56BB2B #2B9EBB
split-complementary
#902BBB #9EBB2B #2BBB48
monochromatic
#431457 #6A2089 #902BBB #AD4DD6 #C47FE2

Accessibility & contrast

On white

6.46
#902BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#902BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BBB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BBB#FFFFFF#000000##FFFFFF
##902BBB1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BF
Deuteranopia (green-blind)
#1960B8
Tritanopia (blue-blind)
#8B4D72
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902bbb;
/* rgb */ color: rgb(144, 43, 187);
/* oklch */ color: oklch(51.1% 0.216 313.2);
Tailwind
colors: {
  custom: {
    50: '#b570d0',
    500: '#902bbb',
    950: '#000000',
  },
}
SCSS
$custom: #902bbb;
$custom-light: #b570d0;
$custom-dark: #000000;
JSON
{
  "hex": "#902bbb",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 282.083,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51073,
    "c": 0.21626,
    "h": 313.2
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#902BBB
secondary
#90CA78
accent
#E64273
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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