#9B248B#9B248B

#9B248B is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.189 H 334.3°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#9B248B
RGBrgb(155, 36, 139)
HSLhsl(308, 62%, 37%)
HSVhsv(308, 77%, 61%)
CMYKcmyk(0%, 76.8%, 10.3%, 39.2%)
CIE-LABlab(38.01, 58.55, -29.96)
CIE-LCHlch(38.01, 65.77, 332.90°)
OKLaboklab(49.07% 0.1702 -0.082)
OKLCHoklch(49.07% 0.189 334.3)
XYZxyz(18.8088, 10.0961, 25.3792)
Luminance0.1009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248B #249B34
analogous
#6F249B #9B248B #9B2450
triadic
#9B248B #8B9B24 #248B9B
tetradic
#9B248B #9B6F24 #249B34 #24509B
square
#9B248B #9B6F24 #249B34 #24509B
split-complementary
#9B248B #509B24 #249B6F
monochromatic
#380D32 #69185E #9B248B #CD30B8 #DA5FC9

Accessibility & contrast

On white

6.96
#9B248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9B248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B248B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248B#FFFFFF#000000##FFFFFF
##9B248B1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214E8E
Deuteranopia (green-blind)
#4E6088
Tritanopia (blue-blind)
#A32F56
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b248b;
/* rgb */ color: rgb(155, 36, 139);
/* oklch */ color: oklch(49.1% 0.189 334.3);
Tailwind
colors: {
  custom: {
    50: '#bc6cad',
    500: '#9b248b',
    950: '#000000',
  },
}
SCSS
$custom: #9b248b;
$custom-light: #bc6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248b",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 308.067,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.18896,
    "h": 334.3
  },
  "luminance": 0.10094
}

Semantic roles & 50–950 ramp

primary
#9B248B
secondary
#5CBF69
accent
#E55842
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B248B

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

Preview Lab → · Contrast checker → · Palette generator →

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