#902B9E#902B9E

#902B9E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.191 H 322.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#902B9E
RGBrgb(144, 43, 158)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 73%, 62%)
CMYKcmyk(8.9%, 72.8%, 0%, 38%)
CIE-LABlab(38.07, 56.90, -41.55)
CIE-LCHlch(38.07, 70.46, 323.86°)
OKLaboklab(49.1% 0.1515 -0.116)
OKLCHoklch(49.1% 0.191 322.5)
XYZxyz(18.5364, 10.1267, 33.3194)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B9E #399E2B
analogous
#572B9E #902B9E #9E2B73
triadic
#902B9E #9E902B #2B9E90
tetradic
#902B9E #9E572B #399E2B #2B739E
square
#902B9E #9E572B #399E2B #2B739E
split-complementary
#902B9E #739E2B #2B9E57
monochromatic
#38113E #641E6E #902B9E #B93CCA #CA6CD7

Accessibility & contrast

On white

6.94
#902B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#902B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902B9E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B9E#FFFFFF#000000##FFFFFF
##902B9E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A1
Deuteranopia (green-blind)
#3C5D9B
Tritanopia (blue-blind)
#924062
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #902b9e;
/* rgb */ color: rgb(144, 43, 158);
/* oklch */ color: oklch(49.1% 0.191 322.5);
Tailwind
colors: {
  custom: {
    50: '#b46fbb',
    500: '#902b9e',
    950: '#000000',
  },
}
SCSS
$custom: #902b9e;
$custom-light: #b46fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#902b9e",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 158
  },
  "hsl": {
    "h": 292.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49099,
    "c": 0.1908,
    "h": 322.5
  },
  "luminance": 0.10126
}

Semantic roles & 50–950 ramp

primary
#902B9E
secondary
#71BE67
accent
#E0475A
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #902B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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