#9B249D#9B249D

#9B249D is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.202 H 327.4°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9B249D
RGBrgb(155, 36, 157)
HSLhsl(299, 63%, 38%)
HSVhsv(299, 77%, 62%)
CMYKcmyk(1.3%, 77.1%, 0%, 38.4%)
CIE-LABlab(39.01, 61.43, -39.34)
CIE-LCHlch(39.01, 72.94, 327.37°)
OKLaboklab(50.11% 0.1705 -0.1092)
OKLCHoklch(50.11% 0.202 327.4)
XYZxyz(20.2339, 10.6661, 32.8848)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B249D #269D24
analogous
#5E249D #9B249D #9D2463
triadic
#9B249D #9D9B24 #249D9B
tetradic
#9B249D #9D5E24 #269D24 #24639D
square
#9B249D #9D5E24 #269D24 #24639D
split-complementary
#9B249D #639D24 #249D5E
monochromatic
#390D39 #6A196B #9B249D #CC2FCF #D961DB

Accessibility & contrast

On white

6.70
#9B249D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9B249D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B249D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B249D#FFFFFF#000000##FFFFFF
##9B249D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#45619A
Tritanopia (blue-blind)
#A03960
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b249d;
/* rgb */ color: rgb(155, 36, 157);
/* oklch */ color: oklch(50.1% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9b249d',
    950: '#000000',
  },
}
SCSS
$custom: #9b249d;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b249d",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 299.008,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.20245,
    "h": 327.4
  },
  "luminance": 0.10665
}

Semantic roles & 50–950 ramp

primary
#9B249D
secondary
#5FC05D
accent
#E64245
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B249D

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

Preview Lab → · Contrast checker → · Palette generator →

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