#99238B#99238B

#99238B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.189 H 333.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#99238B
RGBrgb(153, 35, 139)
HSLhsl(307, 63%, 37%)
HSVhsv(307, 77%, 60%)
CMYKcmyk(0%, 77.1%, 9.2%, 40%)
CIE-LABlab(37.55, 58.40, -30.71)
CIE-LCHlch(37.55, 65.98, 332.27°)
OKLaboklab(48.67% 0.1691 -0.0842)
OKLCHoklch(48.67% 0.189 333.5)
XYZxyz(18.3982, 9.8400, 25.3514)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99238B #239931
analogous
#6C2399 #99238B #992350
triadic
#99238B #8B9923 #238B99
tetradic
#99238B #996C23 #239931 #235099
square
#99238B #996C23 #239931 #235099
split-complementary
#99238B #509923 #23996C
monochromatic
#350C31 #67185E #99238B #CB2EB8 #DA5DCB

Accessibility & contrast

On white

7.08
#99238B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#99238B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99238B
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99238B#FFFFFF#000000##FFFFFF
##99238B1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#A02F55
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99238b;
/* rgb */ color: rgb(153, 35, 139);
/* oklch */ color: oklch(48.7% 0.189 333.5);
Tailwind
colors: {
  custom: {
    50: '#bb6cad',
    500: '#99238b',
    950: '#000000',
  },
}
SCSS
$custom: #99238b;
$custom-light: #bb6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#99238b",
  "rgb": {
    "r": 153,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 307.119,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.1889,
    "h": 333.5
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#99238B
secondary
#59BE65
accent
#E65542
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99238B

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

Preview Lab → · Contrast checker → · Palette generator →

#99238B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva