#9B248A#9B248A

#9B248A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.0% C 0.188 H 334.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9B248A
RGBrgb(155, 36, 138)
HSLhsl(309, 62%, 37%)
HSVhsv(309, 77%, 61%)
CMYKcmyk(0%, 76.8%, 11%, 39.2%)
CIE-LABlab(37.96, 58.40, -29.42)
CIE-LCHlch(37.96, 65.39, 333.26°)
OKLaboklab(49.02% 0.1702 -0.0805)
OKLCHoklch(49.02% 0.188 334.7)
XYZxyz(18.7361, 10.0670, 24.9962)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248A #249B35
analogous
#70249B #9B248A #9B244F
triadic
#9B248A #8A9B24 #248A9B
tetradic
#9B248A #9B7024 #249B35 #244F9B
square
#9B248A #9B7024 #249B35 #244F9B
split-complementary
#9B248A #4F9B24 #249B70
monochromatic
#380D32 #69185E #9B248A #CD30B6 #DA5FC8

Accessibility & contrast

On white

6.97
#9B248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9B248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B248A
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248A#FFFFFF#000000##FFFFFF
##9B248A1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#A32F55
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9b248a;
/* rgb */ color: rgb(155, 36, 138);
/* oklch */ color: oklch(49.0% 0.188 334.7);
Tailwind
colors: {
  custom: {
    50: '#bc6cac',
    500: '#9b248a',
    950: '#000000',
  },
}
SCSS
$custom: #9b248a;
$custom-light: #bc6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248a",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 308.571,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49016,
    "c": 0.18824,
    "h": 334.7
  },
  "luminance": 0.10065
}

Semantic roles & 50–950 ramp

primary
#9B248A
secondary
#5CBF6A
accent
#E55A42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B248A

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

Preview Lab → · Contrast checker → · Palette generator →

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