#99238C#99238C

#99238C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.190 H 333.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#99238C
RGBrgb(153, 35, 140)
HSLhsl(307, 63%, 37%)
HSVhsv(307, 77%, 60%)
CMYKcmyk(0%, 77.1%, 8.5%, 40%)
CIE-LABlab(37.61, 58.55, -31.24)
CIE-LCHlch(37.61, 66.36, 331.92°)
OKLaboklab(48.73% 0.1691 -0.0858)
OKLCHoklch(48.73% 0.19 333.1)
XYZxyz(18.4716, 9.8694, 25.7380)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99238C #239930
analogous
#6B2399 #99238C #992351
triadic
#99238C #8C9923 #238C99
tetradic
#99238C #996B23 #239930 #235199
square
#99238C #996B23 #239930 #235199
split-complementary
#99238C #519923 #23996B
monochromatic
#350C31 #67185E #99238C #CB2EBA #DA5DCC

Accessibility & contrast

On white

7.06
#99238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #99238C
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99238C#FFFFFF#000000##FFFFFF
##99238C1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#4C5E89
Tritanopia (blue-blind)
#A03056
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #99238c;
/* rgb */ color: rgb(153, 35, 140);
/* oklch */ color: oklch(48.7% 0.190 333.1);
Tailwind
colors: {
  custom: {
    50: '#bb6cae',
    500: '#99238c',
    950: '#000000',
  },
}
SCSS
$custom: #99238c;
$custom-light: #bb6cae;
$custom-dark: #000000;
JSON
{
  "hex": "#99238c",
  "rgb": {
    "r": 153,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 306.61,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48728,
    "c": 0.18963,
    "h": 333.1
  },
  "luminance": 0.09868
}

Semantic roles & 50–950 ramp

primary
#99238C
secondary
#59BE64
accent
#E65442
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99238C

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

Preview Lab → · Contrast checker → · Palette generator →

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