#752098#752098

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

Color values

HEX#752098
RGBrgb(117, 32, 152)
HSLhsl(283, 65%, 36%)
HSVhsv(283, 79%, 60%)
CMYKcmyk(23%, 78.9%, 0%, 40.4%)
CIE-LABlab(31.99, 54.13, -47.90)
CIE-LCHlch(31.99, 72.28, 318.49°)
OKLaboklab(43.81% 0.1287 -0.1354)
OKLCHoklch(43.81% 0.187 313.5)
XYZxyz(13.5191, 7.0824, 30.3546)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752098 #439820
analogous
#392098 #752098 #98207F
triadic
#752098 #987520 #209875
tetradic
#752098 #983920 #439820 #207F98
square
#752098 #983920 #439820 #207F98
split-complementary
#752098 #7F9820 #209839
monochromatic
#270B33 #4E1565 #752098 #9C2BCB #B557DC

Accessibility & contrast

On white

8.69
#752098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752098
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752098#FFFFFF#000000##FFFFFF
##7520981.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#124D95
Tritanopia (blue-blind)
#713C5C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752098;
/* rgb */ color: rgb(117, 32, 152);
/* oklch */ color: oklch(43.8% 0.187 313.5);
Tailwind
colors: {
  custom: {
    50: '#a166b7',
    500: '#752098',
    950: '#000000',
  },
}
SCSS
$custom: #752098;
$custom-light: #a166b7;
$custom-dark: #000000;
JSON
{
  "hex": "#752098",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 282.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.18684,
    "h": 313.5
  },
  "luminance": 0.07082
}

Semantic roles & 50–950 ramp

primary
#752098
secondary
#74BF54
accent
#E84071
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #752098

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

Preview Lab → · Contrast checker → · Palette generator →

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