#9B2698#9B2698

#9B2698 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 50.0% C 0.197 H 329.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B2698
RGBrgb(155, 38, 152)
HSLhsl(302, 61%, 38%)
HSVhsv(302, 75%, 61%)
CMYKcmyk(0%, 75.5%, 1.9%, 39.2%)
CIE-LABlab(38.94, 59.98, -36.43)
CIE-LCHlch(38.94, 70.18, 328.73°)
OKLaboklab(49.96% 0.1688 -0.1008)
OKLCHoklch(49.96% 0.197 329.2)
XYZxyz(19.8780, 10.6233, 30.7032)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2698 #269B29
analogous
#63269B #9B2698 #9B265E
triadic
#9B2698 #989B26 #26989B
tetradic
#9B2698 #9B6326 #269B29 #265E9B
square
#9B2698 #9B6326 #269B29 #265E9B
split-complementary
#9B2698 #5E9B26 #269B63
monochromatic
#390E38 #6A1A68 #9B2698 #CC32C8 #D963D6

Accessibility & contrast

On white

6.72
#9B2698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2698
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2698#FFFFFF#000000##FFFFFF
##9B26981.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12529B
Deuteranopia (green-blind)
#486195
Tritanopia (blue-blind)
#A0375D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2698;
/* rgb */ color: rgb(155, 38, 152);
/* oklch */ color: oklch(50.0% 0.197 329.2);
Tailwind
colors: {
  custom: {
    50: '#bc6eb7',
    500: '#9b2698',
    950: '#000000',
  },
}
SCSS
$custom: #9b2698;
$custom-light: #bc6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2698",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 301.538,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49961,
    "c": 0.19659,
    "h": 329.2
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#9B2698
secondary
#5FBE61
accent
#E44844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2698

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

Preview Lab → · Contrast checker → · Palette generator →

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