#99338D#99338D

#99338D is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.2% C 0.171 H 332.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#99338D
RGBrgb(153, 51, 141)
HSLhsl(307, 50%, 40%)
HSVhsv(307, 67%, 60%)
CMYKcmyk(0%, 66.7%, 7.8%, 40%)
CIE-LABlab(39.69, 52.97, -28.58)
CIE-LCHlch(39.69, 60.19, 331.66°)
OKLaboklab(50.25% 0.1524 -0.0782)
OKLCHoklch(50.25% 0.171 332.8)
XYZxyz(19.1285, 11.0645, 26.3223)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#99338D #33993F
analogous
#723399 #99338D #99335A
triadic
#99338D #8D9933 #338D99
tetradic
#99338D #997233 #33993F #335A99
square
#99338D #997233 #33993F #335A99
split-complementary
#99338D #5A9933 #339972
monochromatic
#3D1438 #6B2463 #99338D #C247B3 #D175C6

Accessibility & contrast

On white

6.54
#99338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#99338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #99338D
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##99338D#FFFFFF#000000##FFFFFF
##99338D1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A03C5B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #99338d;
/* rgb */ color: rgb(153, 51, 141);
/* oklch */ color: oklch(50.2% 0.171 332.8);
Tailwind
colors: {
  custom: {
    50: '#ba73ae',
    500: '#99338d',
    950: '#000000',
  },
}
SCSS
$custom: #99338d;
$custom-light: #ba73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#99338d",
  "rgb": {
    "r": 153,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 307.059,
    "s": 50,
    "l": 40
  },
  "oklch": {
    "l": 0.50247,
    "c": 0.17134,
    "h": 332.8
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#99338D
secondary
#6EB977
accent
#DA5F4E
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #99338D

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

Preview Lab → · Contrast checker → · Palette generator →

#99338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva