#9B248C#9B248C

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

Color values

HEX#9B248C
RGBrgb(155, 36, 140)
HSLhsl(308, 62%, 37%)
HSVhsv(308, 77%, 61%)
CMYKcmyk(0%, 76.8%, 9.7%, 39.2%)
CIE-LABlab(38.07, 58.70, -30.49)
CIE-LCHlch(38.07, 66.15, 332.55°)
OKLaboklab(49.12% 0.1703 -0.0836)
OKLCHoklch(49.12% 0.19 333.9)
XYZxyz(18.8822, 10.1254, 25.7658)
Luminance0.1012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248C #249B33
analogous
#6F249B #9B248C #9B2451
triadic
#9B248C #8C9B24 #248C9B
tetradic
#9B248C #9B6F24 #249B33 #24519B
square
#9B248C #9B6F24 #249B33 #24519B
split-complementary
#9B248C #519B24 #249B6F
monochromatic
#380D32 #69185F #9B248C #CD30B9 #DA5FCB

Accessibility & contrast

On white

6.94
#9B248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B248C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248C#FFFFFF#000000##FFFFFF
##9B248C1.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F8F
Deuteranopia (green-blind)
#4E6089
Tritanopia (blue-blind)
#A23056
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b248c;
/* rgb */ color: rgb(155, 36, 140);
/* oklch */ color: oklch(49.1% 0.190 333.9);
Tailwind
colors: {
  custom: {
    50: '#bc6cae',
    500: '#9b248c',
    950: '#000000',
  },
}
SCSS
$custom: #9b248c;
$custom-light: #bc6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248c",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 307.563,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49124,
    "c": 0.18969,
    "h": 333.9
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#9B248C
secondary
#5CBF68
accent
#E55742
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B248C

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

Preview Lab → · Contrast checker → · Palette generator →

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