#902B9B#902B9B

#902B9B is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.188 H 323.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#902B9B
RGBrgb(144, 43, 155)
HSLhsl(294, 57%, 39%)
HSVhsv(294, 72%, 61%)
CMYKcmyk(7.1%, 72.3%, 0%, 39.2%)
CIE-LABlab(37.89, 56.35, -40.03)
CIE-LCHlch(37.89, 69.12, 324.61°)
OKLaboklab(48.91% 0.1516 -0.1116)
OKLCHoklch(48.91% 0.188 323.6)
XYZxyz(18.2813, 10.0247, 31.9760)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902B9B #369B2B
analogous
#582B9B #902B9B #9B2B6E
triadic
#902B9B #9B902B #2B9B90
tetradic
#902B9B #9B582B #369B2B #2B6E9B
square
#902B9B #9B582B #369B2B #2B6E9B
split-complementary
#902B9B #6E9B2B #2B9B58
monochromatic
#37103B #631E6B #902B9B #BB3BC9 #CB6BD6

Accessibility & contrast

On white

6.99
#902B9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#902B9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #902B9B
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902B9B#FFFFFF#000000##FFFFFF
##902B9B1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02529E
Deuteranopia (green-blind)
#3E5D98
Tritanopia (blue-blind)
#933F60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #902b9b;
/* rgb */ color: rgb(144, 43, 155);
/* oklch */ color: oklch(48.9% 0.188 323.6);
Tailwind
colors: {
  custom: {
    50: '#b46eb9',
    500: '#902b9b',
    950: '#000000',
  },
}
SCSS
$custom: #902b9b;
$custom-light: #b46eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#902b9b",
  "rgb": {
    "r": 144,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 294.107,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4891,
    "c": 0.18824,
    "h": 323.6
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#902B9B
secondary
#6EBC65
accent
#E04857
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #902B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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