#752F99#752F99

#752F99 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.170 H 311.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#752F99
RGBrgb(117, 47, 153)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 69%, 60%)
CMYKcmyk(23.5%, 69.3%, 0%, 40%)
CIE-LABlab(34.22, 48.22, -44.92)
CIE-LCHlch(34.22, 65.90, 317.03°)
OKLaboklab(45.41% 0.1135 -0.1268)
OKLCHoklch(45.41% 0.17 311.8)
XYZxyz(14.1013, 8.1152, 30.9544)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F99 #53992F
analogous
#402F99 #752F99 #992F88
triadic
#752F99 #99752F #2F9975
tetradic
#752F99 #99402F #53992F #2F8899
square
#752F99 #99402F #53992F #2F8899
split-complementary
#752F99 #88992F #2F9940
monochromatic
#2D123B #51216A #752F99 #9841C5 #B16FD3

Accessibility & contrast

On white

8.01
#752F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F99
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F99#FFFFFF#000000##FFFFFF
##752F991.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#714560
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752f99;
/* rgb */ color: rgb(117, 47, 153);
/* oklch */ color: oklch(45.4% 0.170 311.8);
Tailwind
colors: {
  custom: {
    50: '#a06db8',
    500: '#752f99',
    950: '#000000',
  },
}
SCSS
$custom: #752f99;
$custom-light: #a06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#752f99",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 279.623,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.17015,
    "h": 311.8
  },
  "luminance": 0.08115
}

Semantic roles & 50–950 ramp

primary
#752F99
secondary
#85BA69
accent
#DC4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F99

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

Preview Lab → · Contrast checker → · Palette generator →

#752F99 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva