#9D248E#9D248E

#9D248E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 333.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9D248E
RGBrgb(157, 36, 142)
HSLhsl(307, 63%, 38%)
HSVhsv(307, 77%, 62%)
CMYKcmyk(0%, 77.1%, 9.6%, 38.4%)
CIE-LABlab(38.52, 59.47, -30.97)
CIE-LCHlch(38.52, 67.05, 332.49°)
OKLaboklab(49.55% 0.1724 -0.0849)
OKLCHoklch(49.55% 0.192 333.8)
XYZxyz(19.4182, 10.3845, 26.5677)
Luminance0.1038 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D248E #249D33
analogous
#6F249D #9D248E #9D2451
triadic
#9D248E #8E9D24 #248E9D
tetradic
#9D248E #9D6F24 #249D33 #24519D
square
#9D248E #9D6F24 #249D33 #24519D
split-complementary
#9D248E #519D24 #249D6F
monochromatic
#390D34 #6B1961 #9D248E #CF2FBB #DB61CC

Accessibility & contrast

On white

6.83
#9D248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D248E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D248E
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D248E#FFFFFF#000000##FFFFFF
##9D248E1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205091
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A43057
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d248e;
/* rgb */ color: rgb(157, 36, 142);
/* oklch */ color: oklch(49.6% 0.192 333.8);
Tailwind
colors: {
  custom: {
    50: '#be6daf',
    500: '#9d248e',
    950: '#000000',
  },
}
SCSS
$custom: #9d248e;
$custom-light: #be6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d248e",
  "rgb": {
    "r": 157,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 307.438,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.19221,
    "h": 333.8
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#9D248E
secondary
#5DC069
accent
#E65642
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9D248E

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

Preview Lab → · Contrast checker → · Palette generator →

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