#9B248F#9B248F

#9B248F is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.3% C 0.192 H 332.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9B248F
RGBrgb(155, 36, 143)
HSLhsl(306, 62%, 37%)
HSVhsv(306, 77%, 61%)
CMYKcmyk(0%, 76.8%, 7.7%, 39.2%)
CIE-LABlab(38.23, 59.17, -32.08)
CIE-LCHlch(38.23, 67.30, 331.54°)
OKLaboklab(49.29% 0.1704 -0.0882)
OKLCHoklch(49.29% 0.192 332.6)
XYZxyz(19.1065, 10.2151, 26.9467)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248F #249B30
analogous
#6B249B #9B248F #9B2454
triadic
#9B248F #8F9B24 #248F9B
tetradic
#9B248F #9B6B24 #249B30 #24549B
square
#9B248F #9B6B24 #249B30 #24549B
split-complementary
#9B248F #549B24 #249B6B
monochromatic
#380D33 #691861 #9B248F #CD30BD #DA5FCE

Accessibility & contrast

On white

6.90
#9B248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9B248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B248F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248F#FFFFFF#000000##FFFFFF
##9B248F1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4C608C
Tritanopia (blue-blind)
#A23158
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b248f;
/* rgb */ color: rgb(155, 36, 143);
/* oklch */ color: oklch(49.3% 0.192 332.6);
Tailwind
colors: {
  custom: {
    50: '#bc6cb0',
    500: '#9b248f',
    950: '#000000',
  },
}
SCSS
$custom: #9b248f;
$custom-light: #bc6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248f",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 306.05,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.19187,
    "h": 332.6
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#9B248F
secondary
#5CBF66
accent
#E55342
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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