#75178F#75178F

#75178F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.187 H 317.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#75178F
RGBrgb(117, 23, 143)
HSLhsl(287, 72%, 33%)
HSVhsv(287, 84%, 56%)
CMYKcmyk(18.2%, 83.9%, 0%, 43.9%)
CIE-LABlab(30.35, 55.17, -45.04)
CIE-LCHlch(30.35, 71.22, 320.77°)
OKLaboklab(42.44% 0.1376 -0.127)
OKLCHoklch(42.44% 0.187 317.3)
XYZxyz(12.5997, 6.3784, 26.5488)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75178F #318F17
analogous
#39178F #75178F #8F176D
triadic
#75178F #8F7517 #178F75
tetradic
#75178F #8F3917 #318F17 #176D8F
square
#75178F #8F3917 #318F17 #176D8F
split-complementary
#75178F #6D8F17 #178F39
monochromatic
#1F0626 #4A0F5A #75178F #A01FC4 #BE40E0

Accessibility & contrast

On white

9.23
#75178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#75178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75178F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75178F#FFFFFF#000000##FFFFFF
##75178F1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#1A4A8D
Tritanopia (blue-blind)
#743455
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75178f;
/* rgb */ color: rgb(117, 23, 143);
/* oklch */ color: oklch(42.4% 0.187 317.3);
Tailwind
colors: {
  custom: {
    50: '#a162b0',
    500: '#75178f',
    950: '#000000',
  },
}
SCSS
$custom: #75178f;
$custom-light: #a162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75178f",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 287,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.1872,
    "h": 317.3
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#75178F
secondary
#5DC141
accent
#EF3960
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #75178F

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

Preview Lab → · Contrast checker → · Palette generator →

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