#99308E#99308E

#99308E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.176 H 332.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#99308E
RGBrgb(153, 48, 142)
HSLhsl(306, 52%, 39%)
HSVhsv(306, 69%, 60%)
CMYKcmyk(0%, 68.6%, 7.2%, 40%)
CIE-LABlab(39.31, 54.34, -29.78)
CIE-LCHlch(39.31, 61.96, 331.27°)
OKLaboklab(49.99% 0.156 -0.0817)
OKLCHoklch(49.99% 0.176 332.4)
XYZxyz(19.0763, 10.8407, 26.6737)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99308E #30993B
analogous
#703099 #99308E #993059
triadic
#99308E #8E9930 #308E99
tetradic
#99308E #997030 #30993B #305999
square
#99308E #997030 #30993B #305999
split-complementary
#99308E #599930 #309970
monochromatic
#3C1338 #6A2163 #99308E #C442B6 #D271C8

Accessibility & contrast

On white

6.63
#99308E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #99308E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99308E#FFFFFF#000000##FFFFFF
##99308E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#50628B
Tritanopia (blue-blind)
#A03A5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #99308e;
/* rgb */ color: rgb(153, 48, 142);
/* oklch */ color: oklch(50.0% 0.176 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba71af',
    500: '#99308e',
    950: '#000000',
  },
}
SCSS
$custom: #99308e;
$custom-light: #ba71af;
$custom-dark: #000000;
JSON
{
  "hex": "#99308e",
  "rgb": {
    "r": 153,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 306.286,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49989,
    "c": 0.17611,
    "h": 332.4
  },
  "luminance": 0.10839
}

Semantic roles & 50–950 ramp

primary
#99308E
secondary
#6BBA73
accent
#DC5B4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99308E

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

Preview Lab → · Contrast checker → · Palette generator →

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