#752198#752198

#752198 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.9% C 0.186 H 313.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#752198
RGBrgb(117, 33, 152)
HSLhsl(282, 64%, 36%)
HSVhsv(282, 78%, 60%)
CMYKcmyk(23%, 78.3%, 0%, 40.4%)
CIE-LABlab(32.12, 53.77, -47.71)
CIE-LCHlch(32.12, 71.89, 318.42°)
OKLaboklab(43.89% 0.1278 -0.1349)
OKLCHoklch(43.89% 0.186 313.5)
XYZxyz(13.5465, 7.1371, 30.3637)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752198 #449821
analogous
#3A2198 #752198 #982180
triadic
#752198 #987521 #219875
tetradic
#752198 #983A21 #449821 #218098
square
#752198 #983A21 #449821 #218098
split-complementary
#752198 #809821 #21983A
monochromatic
#280B33 #4E1666 #752198 #9C2CCA #B559DB

Accessibility & contrast

On white

8.65
#752198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#752198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752198
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752198#FFFFFF#000000##FFFFFF
##7521981.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#144D96
Tritanopia (blue-blind)
#713D5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752198;
/* rgb */ color: rgb(117, 33, 152);
/* oklch */ color: oklch(43.9% 0.186 313.5);
Tailwind
colors: {
  custom: {
    50: '#a166b7',
    500: '#752198',
    950: '#000000',
  },
}
SCSS
$custom: #752198;
$custom-light: #a166b7;
$custom-dark: #000000;
JSON
{
  "hex": "#752198",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 282.353,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43892,
    "c": 0.18582,
    "h": 313.5
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#752198
secondary
#75BF56
accent
#E74072
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752198

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

Preview Lab → · Contrast checker → · Palette generator →

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