#98207F#98207F

#98207F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.6% C 0.183 H 338.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#98207F
RGBrgb(152, 32, 127)
HSLhsl(313, 65%, 36%)
HSVhsv(313, 79%, 60%)
CMYKcmyk(0%, 78.9%, 16.4%, 40.4%)
CIE-LABlab(36.45, 57.28, -25.03)
CIE-LCHlch(36.45, 62.51, 336.39°)
OKLaboklab(47.64% 0.1698 -0.068)
OKLCHoklch(47.64% 0.183 338.2)
XYZxyz(17.2966, 9.2424, 20.9476)
Luminance0.0924 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98207F #209839
analogous
#752098 #98207F #982043
triadic
#98207F #7F9820 #207F98
tetradic
#98207F #987520 #209839 #204398
square
#98207F #987520 #209839 #204398
split-complementary
#98207F #439820 #209875
monochromatic
#330B2B #651555 #98207F #CB2BA9 #DC57C0

Accessibility & contrast

On white

7.37
#98207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#98207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98207F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98207F#FFFFFF#000000##FFFFFF
##98207F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264A81
Deuteranopia (green-blind)
#505C7C
Tritanopia (blue-blind)
#A1274E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #98207f;
/* rgb */ color: rgb(152, 32, 127);
/* oklch */ color: oklch(47.6% 0.183 338.2);
Tailwind
colors: {
  custom: {
    50: '#ba6aa4',
    500: '#98207f',
    950: '#000000',
  },
}
SCSS
$custom: #98207f;
$custom-light: #ba6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#98207f",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 312.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47644,
    "c": 0.18291,
    "h": 338.2
  },
  "luminance": 0.09241
}

Semantic roles & 50–950 ramp

primary
#98207F
secondary
#54BF6B
accent
#E86340
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #98207F

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

Preview Lab → · Contrast checker → · Palette generator →

#98207F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva