#9C3099#9C3099

#9C3099 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.187 H 329.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C3099
RGBrgb(156, 48, 153)
HSLhsl(302, 53%, 40%)
HSVhsv(302, 69%, 61%)
CMYKcmyk(0%, 69.2%, 1.9%, 38.8%)
CIE-LABlab(40.38, 56.91, -34.74)
CIE-LCHlch(40.38, 66.67, 328.60°)
OKLaboklab(51.05% 0.16 -0.0959)
OKLCHoklch(51.05% 0.187 329.1)
XYZxyz(20.5168, 11.4832, 31.2667)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C3099 #309C33
analogous
#69309C #9C3099 #9C3063
triadic
#9C3099 #999C30 #30999C
tetradic
#9C3099 #9C6930 #309C33 #30639C
square
#9C3099 #9C6930 #309C33 #30639C
split-complementary
#9C3099 #639C30 #309C69
monochromatic
#3E133D #6D226B #9C3099 #C544C2 #D473D1

Accessibility & contrast

On white

6.37
#9C3099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9C3099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C3099
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C3099#FFFFFF#000000##FFFFFF
##9C30991.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A13E61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9c3099;
/* rgb */ color: rgb(156, 48, 153);
/* oklch */ color: oklch(51.0% 0.187 329.1);
Tailwind
colors: {
  custom: {
    50: '#bc72b7',
    500: '#9c3099',
    950: '#000000',
  },
}
SCSS
$custom: #9c3099;
$custom-light: #bc72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c3099",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 153
  },
  "hsl": {
    "h": 301.667,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.51047,
    "c": 0.18656,
    "h": 329.1
  },
  "luminance": 0.11482
}

Semantic roles & 50–950 ramp

primary
#9C3099
secondary
#6CBC6E
accent
#DC4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C3099

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

Preview Lab → · Contrast checker → · Palette generator →

#9C3099 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva