#9B2799#9B2799

#9B2799 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.196 H 328.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2799
RGBrgb(155, 39, 153)
HSLhsl(301, 60%, 38%)
HSVhsv(301, 75%, 61%)
CMYKcmyk(0%, 74.8%, 1.3%, 39.2%)
CIE-LABlab(39.11, 59.83, -36.77)
CIE-LCHlch(39.11, 70.23, 328.43°)
OKLaboklab(50.1% 0.1679 -0.1018)
OKLCHoklch(50.1% 0.196 328.8)
XYZxyz(19.9927, 10.7210, 31.1472)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2799 #279B29
analogous
#63279B #9B2799 #9B275F
triadic
#9B2799 #999B27 #27999B
tetradic
#9B2799 #9B6327 #279B29 #275F9B
square
#9B2799 #9B6327 #279B29 #275F9B
split-complementary
#9B2799 #5F9B27 #279B63
monochromatic
#390E38 #6A1B69 #9B2799 #CC33C9 #D864D6

Accessibility & contrast

On white

6.68
#9B2799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B2799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2799
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2799#FFFFFF#000000##FFFFFF
##9B27991.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#A0385E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2799;
/* rgb */ color: rgb(155, 39, 153);
/* oklch */ color: oklch(50.1% 0.196 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6eb7',
    500: '#9b2799',
    950: '#000000',
  },
}
SCSS
$custom: #9b2799;
$custom-light: #bc6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2799",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 301.034,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50099,
    "c": 0.19633,
    "h": 328.8
  },
  "luminance": 0.1072
}

Semantic roles & 50–950 ramp

primary
#9B2799
secondary
#60BE62
accent
#E34845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2799

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

Preview Lab → · Contrast checker → · Palette generator →

#9B2799 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva