#99228B#99228B

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

Color values

HEX#99228B
RGBrgb(153, 34, 139)
HSLhsl(307, 64%, 37%)
HSVhsv(307, 78%, 60%)
CMYKcmyk(0%, 77.8%, 9.2%, 40%)
CIE-LABlab(37.45, 58.70, -30.87)
CIE-LCHlch(37.45, 66.32, 332.26°)
OKLaboklab(48.6% 0.17 -0.0847)
OKLCHoklch(48.6% 0.19 333.5)
XYZxyz(18.3692, 9.7820, 25.3418)
Luminance0.0978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99228B #229930
analogous
#6C2299 #99228B #992250
triadic
#99228B #8B9922 #228B99
tetradic
#99228B #996C22 #229930 #225099
square
#99228B #996C22 #229930 #225099
split-complementary
#99228B #509922 #22996C
monochromatic
#350C30 #67175E #99228B #CB2DB8 #DB5BCC

Accessibility & contrast

On white

7.10
#99228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#99228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #99228B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99228B#FFFFFF#000000##FFFFFF
##99228B1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #99228b;
/* rgb */ color: rgb(153, 34, 139);
/* oklch */ color: oklch(48.6% 0.190 333.5);
Tailwind
colors: {
  custom: {
    50: '#bb6bad',
    500: '#99228b',
    950: '#000000',
  },
}
SCSS
$custom: #99228b;
$custom-light: #bb6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#99228b",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 307.059,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48597,
    "c": 0.1899,
    "h": 333.5
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#99228B
secondary
#58BF64
accent
#E75541
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99228B

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

Preview Lab → · Contrast checker → · Palette generator →

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