#902BB8#902BB8

#902BB8 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.214 H 314.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#902BB8
RGBrgb(144, 43, 184)
HSLhsl(283, 62%, 45%)
HSVhsv(283, 77%, 72%)
CMYKcmyk(21.7%, 76.6%, 0%, 27.8%)
CIE-LABlab(39.78, 61.92, -54.31)
CIE-LCHlch(39.78, 82.36, 318.75°)
OKLaboklab(50.86% 0.1486 -0.1534)
OKLCHoklch(50.86% 0.214 314.1)
XYZxyz(21.0157, 11.1185, 46.3771)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BB8 #53B82B
analogous
#4A2BB8 #902BB8 #B82B9A
triadic
#902BB8 #B8902B #2BB890
tetradic
#902BB8 #B84A2B #53B82B #2B9AB8
square
#902BB8 #B84A2B #53B82B #2B9AB8
split-complementary
#902BB8 #9AB82B #2BB84A
monochromatic
#421455 #691F86 #902BB8 #AE4BD5 #C47DE1

Accessibility & contrast

On white

6.51
#902BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#902BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BB8
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BB8#FFFFFF#000000##FFFFFF
##902BB81.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BC
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#8C4C71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #902bb8;
/* rgb */ color: rgb(144, 43, 184);
/* oklch */ color: oklch(50.9% 0.214 314.1);
Tailwind
colors: {
  custom: {
    50: '#b570ce',
    500: '#902bb8',
    950: '#000000',
  },
}
SCSS
$custom: #902bb8;
$custom-light: #b570ce;
$custom-dark: #000000;
JSON
{
  "hex": "#902bb8",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 282.979,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.21358,
    "h": 314.1
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#902BB8
secondary
#8DC976
accent
#E54371
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #902BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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