#902BAC#902BAC

#902BAC is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.203 H 317.8°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#902BAC
RGBrgb(144, 43, 172)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(16.3%, 75%, 0%, 32.5%)
CIE-LABlab(38.96, 59.55, -48.52)
CIE-LCHlch(38.96, 76.81, 320.83°)
OKLaboklab(50.02% 0.1503 -0.1364)
OKLCHoklch(50.02% 0.203 317.8)
XYZxyz(19.8108, 10.6365, 40.0312)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902BAC #47AC2B
analogous
#502BAC #902BAC #AC2B87
triadic
#902BAC #AC902B #2BAC90
tetradic
#902BAC #AC502B #47AC2B #2B87AC
square
#902BAC #AC502B #47AC2B #2B87AC
split-complementary
#902BAC #87AC2B #2BAC50
monochromatic
#3E134A #671F7B #902BAC #B244D0 #C675DC

Accessibility & contrast

On white

6.72
#902BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#902BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902BAC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902BAC#FFFFFF#000000##FFFFFF
##902BAC1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#305FA9
Tritanopia (blue-blind)
#8F466A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #902bac;
/* rgb */ color: rgb(144, 43, 172);
/* oklch */ color: oklch(50.0% 0.203 317.8);
Tailwind
colors: {
  custom: {
    50: '#b46fc5',
    500: '#902bac',
    950: '#000000',
  },
}
SCSS
$custom: #902bac;
$custom-light: #b46fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#902bac",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 286.977,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50019,
    "c": 0.20297,
    "h": 317.8
  },
  "luminance": 0.10636
}

Semantic roles & 50–950 ramp

primary
#902BAC
secondary
#81C46F
accent
#E34567
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #902BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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