#9B2697#9B2697

#9B2697 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.196 H 329.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B2697
RGBrgb(155, 38, 151)
HSLhsl(302, 61%, 38%)
HSVhsv(302, 75%, 61%)
CMYKcmyk(0%, 75.5%, 2.6%, 39.2%)
CIE-LABlab(38.88, 59.82, -35.91)
CIE-LCHlch(38.88, 69.77, 329.02°)
OKLaboklab(49.9% 0.1688 -0.0993)
OKLCHoklch(49.9% 0.196 329.5)
XYZxyz(19.7965, 10.5907, 30.2737)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2697 #269B2A
analogous
#64269B #9B2697 #9B265D
triadic
#9B2697 #979B26 #26979B
tetradic
#9B2697 #9B6426 #269B2A #265D9B
square
#9B2697 #9B6426 #269B2A #265D9B
split-complementary
#9B2697 #5D9B26 #269B64
monochromatic
#390E37 #6A1A67 #9B2697 #CC32C7 #D963D5

Accessibility & contrast

On white

6.74
#9B2697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B2697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2697
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2697#FFFFFF#000000##FFFFFF
##9B26971.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A1375D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2697;
/* rgb */ color: rgb(155, 38, 151);
/* oklch */ color: oklch(49.9% 0.196 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc6eb6',
    500: '#9b2697',
    950: '#000000',
  },
}
SCSS
$custom: #9b2697;
$custom-light: #bc6eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2697",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 302.051,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49902,
    "c": 0.19583,
    "h": 329.5
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#9B2697
secondary
#5FBE62
accent
#E44A44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2697

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

Preview Lab → · Contrast checker → · Palette generator →

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