#99308F#99308F

#99308F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.0% C 0.177 H 331.9°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#99308F
RGBrgb(153, 48, 143)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 69%, 60%)
CMYKcmyk(0%, 68.6%, 6.5%, 40%)
CIE-LABlab(39.36, 54.50, -30.31)
CIE-LCHlch(39.36, 62.36, 330.92°)
OKLaboklab(50.04% 0.1561 -0.0832)
OKLCHoklch(50.04% 0.177 331.9)
XYZxyz(19.1518, 10.8709, 27.0709)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99308F #30993A
analogous
#6F3099 #99308F #99305B
triadic
#99308F #8F9930 #308F99
tetradic
#99308F #996F30 #30993A #305B99
square
#99308F #996F30 #30993A #305B99
split-complementary
#99308F #5B9930 #30996F
monochromatic
#3C1338 #6A2163 #99308F #C442B7 #D271C9

Accessibility & contrast

On white

6.62
#99308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#99308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #99308F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99308F#FFFFFF#000000##FFFFFF
##99308F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#9F3B5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #99308f;
/* rgb */ color: rgb(153, 48, 143);
/* oklch */ color: oklch(50.0% 0.177 331.9);
Tailwind
colors: {
  custom: {
    50: '#ba71b0',
    500: '#99308f',
    950: '#000000',
  },
}
SCSS
$custom: #99308f;
$custom-light: #ba71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#99308f",
  "rgb": {
    "r": 153,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 305.714,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50043,
    "c": 0.17689,
    "h": 331.9
  },
  "luminance": 0.10869
}

Semantic roles & 50–950 ramp

primary
#99308F
secondary
#6BBA72
accent
#DC5A4C
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #99308F

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

Preview Lab → · Contrast checker → · Palette generator →

#99308F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva