#99298E#99298E

#99298E is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.3% C 0.185 H 332.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#99298E
RGBrgb(153, 41, 142)
HSLhsl(306, 58%, 38%)
HSVhsv(306, 73%, 60%)
CMYKcmyk(0%, 73.2%, 7.2%, 40%)
CIE-LABlab(38.40, 56.91, -31.22)
CIE-LCHlch(38.40, 64.91, 331.26°)
OKLaboklab(49.33% 0.1635 -0.0858)
OKLCHoklch(49.33% 0.185 332.3)
XYZxyz(18.8123, 10.3127, 26.5857)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99298E #299934
analogous
#6C2999 #99298E #992956
triadic
#99298E #8E9929 #298E99
tetradic
#99298E #996C29 #299934 #295699
square
#99298E #996C29 #299934 #295699
split-complementary
#99298E #569929 #29996C
monochromatic
#380F34 #691C61 #99298E #C936BB #D666CB

Accessibility & contrast

On white

6.86
#99298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#99298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #99298E
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99298E#FFFFFF#000000##FFFFFF
##99298E1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#A03559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #99298e;
/* rgb */ color: rgb(153, 41, 142);
/* oklch */ color: oklch(49.3% 0.185 332.3);
Tailwind
colors: {
  custom: {
    50: '#ba6eaf',
    500: '#99298e',
    950: '#000000',
  },
}
SCSS
$custom: #99298e;
$custom-light: #ba6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#99298e",
  "rgb": {
    "r": 153,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 305.893,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4933,
    "c": 0.18464,
    "h": 332.3
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#99298E
secondary
#62BC6A
accent
#E15647
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99298E

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

Preview Lab → · Contrast checker → · Palette generator →

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