#99238E#99238E

#99238E is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.191 H 332.3°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#99238E
RGBrgb(153, 35, 142)
HSLhsl(306, 63%, 37%)
HSVhsv(306, 77%, 60%)
CMYKcmyk(0%, 77.1%, 7.2%, 40%)
CIE-LABlab(37.71, 58.87, -32.29)
CIE-LCHlch(37.71, 67.14, 331.25°)
OKLaboklab(48.84% 0.1692 -0.0888)
OKLCHoklch(48.84% 0.191 332.3)
XYZxyz(18.6205, 9.9289, 26.5217)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99238E #23992E
analogous
#692399 #99238E #992353
triadic
#99238E #8E9923 #238E99
tetradic
#99238E #996923 #23992E #235399
square
#99238E #996923 #23992E #235399
split-complementary
#99238E #539923 #239969
monochromatic
#350C32 #671860 #99238E #CB2EBC #DA5DCE

Accessibility & contrast

On white

7.03
#99238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#99238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99238E
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99238E#FFFFFF#000000##FFFFFF
##99238E1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4E91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#A03157
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #99238e;
/* rgb */ color: rgb(153, 35, 142);
/* oklch */ color: oklch(48.8% 0.191 332.3);
Tailwind
colors: {
  custom: {
    50: '#bb6caf',
    500: '#99238e',
    950: '#000000',
  },
}
SCSS
$custom: #99238e;
$custom-light: #bb6caf;
$custom-dark: #000000;
JSON
{
  "hex": "#99238e",
  "rgb": {
    "r": 153,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 305.593,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.1911,
    "h": 332.3
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#99238E
secondary
#59BE63
accent
#E65142
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99238E

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

Preview Lab → · Contrast checker → · Palette generator →

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