#9B248D#9B248D

#9B248D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 333.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9B248D
RGBrgb(155, 36, 141)
HSLhsl(307, 62%, 37%)
HSVhsv(307, 77%, 61%)
CMYKcmyk(0%, 76.8%, 9%, 39.2%)
CIE-LABlab(38.12, 58.86, -31.02)
CIE-LCHlch(38.12, 66.53, 332.21°)
OKLaboklab(49.18% 0.1703 -0.0851)
OKLCHoklch(49.18% 0.19 333.4)
XYZxyz(18.9563, 10.1550, 26.1559)
Luminance0.1015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248D #249B32
analogous
#6E249B #9B248D #9B2451
triadic
#9B248D #8D9B24 #248D9B
tetradic
#9B248D #9B6E24 #249B32 #24519B
square
#9B248D #9B6E24 #249B32 #24519B
split-complementary
#9B248D #519B24 #249B6E
monochromatic
#380D33 #691860 #9B248D #CD30BA #DA5FCC

Accessibility & contrast

On white

6.93
#9B248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9B248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B248D
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248D#FFFFFF#000000##FFFFFF
##9B248D1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A23057
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b248d;
/* rgb */ color: rgb(155, 36, 141);
/* oklch */ color: oklch(49.2% 0.190 333.4);
Tailwind
colors: {
  custom: {
    50: '#bc6caf',
    500: '#9b248d',
    950: '#000000',
  },
}
SCSS
$custom: #9b248d;
$custom-light: #bc6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248d",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 307.059,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49179,
    "c": 0.19041,
    "h": 333.4
  },
  "luminance": 0.10153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B248D

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

Preview Lab → · Contrast checker → · Palette generator →

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