#9B2E98#9B2E98

#9B2E98 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.188 H 329.1°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9B2E98
RGBrgb(155, 46, 152)
HSLhsl(302, 54%, 39%)
HSVhsv(302, 70%, 61%)
CMYKcmyk(0%, 70.3%, 1.9%, 39.2%)
CIE-LABlab(39.90, 57.25, -34.91)
CIE-LCHlch(39.90, 67.05, 328.63°)
OKLaboklab(50.65% 0.161 -0.0964)
OKLCHoklch(50.65% 0.188 329.1)
XYZxyz(20.1619, 11.1910, 30.7978)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E98 #2E9B31
analogous
#672E9B #9B2E98 #9B2E62
triadic
#9B2E98 #989B2E #2E989B
tetradic
#9B2E98 #9B672E #2E9B31 #2E629B
square
#9B2E98 #9B672E #2E9B31 #2E629B
split-complementary
#9B2E98 #629B2E #2E9B67
monochromatic
#3D123B #6C206A #9B2E98 #C640C3 #D46FD2

Accessibility & contrast

On white

6.49
#9B2E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9B2E98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E98
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E98#FFFFFF#000000##FFFFFF
##9B2E981.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A03D60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2e98;
/* rgb */ color: rgb(155, 46, 152);
/* oklch */ color: oklch(50.6% 0.188 329.1);
Tailwind
colors: {
  custom: {
    50: '#bc71b7',
    500: '#9b2e98',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e98;
$custom-light: #bc71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e98",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 152
  },
  "hsl": {
    "h": 301.651,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5065,
    "c": 0.18766,
    "h": 329.1
  },
  "luminance": 0.1119
}

Semantic roles & 50–950 ramp

primary
#9B2E98
secondary
#69BC6B
accent
#DE4E4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2E98

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

Preview Lab → · Contrast checker → · Palette generator →

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