#9B249B#9B249B

#9B249B is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.201 H 328.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9B249B
RGBrgb(155, 36, 155)
HSLhsl(300, 62%, 37%)
HSVhsv(300, 77%, 61%)
CMYKcmyk(0%, 76.8%, 0%, 39.2%)
CIE-LABlab(38.90, 61.10, -38.31)
CIE-LCHlch(38.90, 72.12, 327.91°)
OKLaboklab(49.99% 0.1705 -0.1062)
OKLCHoklch(49.99% 0.201 328.1)
XYZxyz(20.0646, 10.5984, 31.9929)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B249B #249B24
analogous
#60249B #9B249B #9B2460
triadic
#9B249B #9B9B24 #249B9B
tetradic
#9B249B #9B6024 #249B24 #24609B
square
#9B249B #9B6024 #249B24 #24609B
split-complementary
#9B249B #609B24 #249B60
monochromatic
#380D38 #691869 #9B249B #CD30CD #DA5FDA

Accessibility & contrast

On white

6.73
#9B249B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B249B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B249B#FFFFFF#000000##FFFFFF
##9B249B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04529E
Deuteranopia (green-blind)
#466198
Tritanopia (blue-blind)
#A0385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b249b;
/* rgb */ color: rgb(155, 36, 155);
/* oklch */ color: oklch(50.0% 0.201 328.1);
Tailwind
colors: {
  custom: {
    50: '#bc6db9',
    500: '#9b249b',
    950: '#000000',
  },
}
SCSS
$custom: #9b249b;
$custom-light: #bc6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b249b",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49985,
    "c": 0.20091,
    "h": 328.1
  },
  "luminance": 0.10597
}

Semantic roles & 50–950 ramp

primary
#9B249B
secondary
#5CBF5C
accent
#E54242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B249B

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

Preview Lab → · Contrast checker → · Palette generator →

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