#752197#752197

#752197 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.8% C 0.185 H 313.8°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#752197
RGBrgb(117, 33, 151)
HSLhsl(283, 64%, 36%)
HSVhsv(283, 78%, 59%)
CMYKcmyk(22.5%, 78.1%, 0%, 40.8%)
CIE-LABlab(32.04, 53.57, -47.21)
CIE-LCHlch(32.04, 71.40, 318.61°)
OKLaboklab(43.82% 0.128 -0.1334)
OKLCHoklch(43.82% 0.185 313.8)
XYZxyz(13.4649, 7.1044, 29.9342)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752197 #439721
analogous
#3A2197 #752197 #97217E
triadic
#752197 #977521 #219775
tetradic
#752197 #973A21 #439721 #217E97
square
#752197 #973A21 #439721 #217E97
split-complementary
#752197 #7E9721 #21973A
monochromatic
#270B33 #4E1665 #752197 #9C2CC9 #B558DA

Accessibility & contrast

On white

8.67
#752197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#752197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752197
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752197#FFFFFF#000000##FFFFFF
##7521971.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#164D95
Tritanopia (blue-blind)
#723C5B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752197;
/* rgb */ color: rgb(117, 33, 151);
/* oklch */ color: oklch(43.8% 0.185 313.8);
Tailwind
colors: {
  custom: {
    50: '#a166b6',
    500: '#752197',
    950: '#000000',
  },
}
SCSS
$custom: #752197;
$custom-light: #a166b6;
$custom-dark: #000000;
JSON
{
  "hex": "#752197",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 282.712,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43817,
    "c": 0.18489,
    "h": 313.8
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#752197
secondary
#74BE55
accent
#E74171
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752197

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

Preview Lab → · Contrast checker → · Palette generator →

#752197 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva