#9B248E#9B248E

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

Color values

HEX#9B248E
RGBrgb(155, 36, 142)
HSLhsl(307, 62%, 37%)
HSVhsv(307, 77%, 61%)
CMYKcmyk(0%, 76.8%, 8.4%, 39.2%)
CIE-LABlab(38.17, 59.01, -31.55)
CIE-LCHlch(38.17, 66.91, 331.87°)
OKLaboklab(49.23% 0.1704 -0.0866)
OKLCHoklch(49.23% 0.191 333)
XYZxyz(19.0310, 10.1849, 26.5495)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B248E #249B31
analogous
#6D249B #9B248E #9B2452
triadic
#9B248E #8E9B24 #248E9B
tetradic
#9B248E #9B6D24 #249B31 #24529B
square
#9B248E #9B6D24 #249B31 #24529B
split-complementary
#9B248E #529B24 #249B6D
monochromatic
#380D33 #691861 #9B248E #CD30BB #DA5FCD

Accessibility & contrast

On white

6.92
#9B248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B248E
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B248E#FFFFFF#000000##FFFFFF
##9B248E1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F91
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A23157
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9b248e;
/* rgb */ color: rgb(155, 36, 142);
/* oklch */ color: oklch(49.2% 0.191 333.0);
Tailwind
colors: {
  custom: {
    50: '#bc6caf',
    500: '#9b248e',
    950: '#000000',
  },
}
SCSS
$custom: #9b248e;
$custom-light: #bc6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b248e",
  "rgb": {
    "r": 155,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 306.555,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49234,
    "c": 0.19114,
    "h": 333
  },
  "luminance": 0.10183
}

Semantic roles & 50–950 ramp

primary
#9B248E
secondary
#5CBF67
accent
#E55442
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9B248E

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

Preview Lab → · Contrast checker → · Palette generator →

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