#752E99#752E99

#752E99 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.171 H 311.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#752E99
RGBrgb(117, 46, 153)
HSLhsl(280, 54%, 39%)
HSVhsv(280, 70%, 60%)
CMYKcmyk(23.5%, 69.9%, 0%, 40%)
CIE-LABlab(34.06, 48.68, -45.18)
CIE-LCHlch(34.06, 66.42, 317.13°)
OKLaboklab(45.29% 0.1146 -0.1275)
OKLCHoklch(45.29% 0.171 311.9)
XYZxyz(14.0618, 8.0362, 30.9412)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E99 #52992E
analogous
#402E99 #752E99 #992E88
triadic
#752E99 #99752E #2E9975
tetradic
#752E99 #99402E #52992E #2E8899
square
#752E99 #99402E #52992E #2E8899
split-complementary
#752E99 #88992E #2E9940
monochromatic
#2D123B #51206A #752E99 #983FC5 #B16ED3

Accessibility & contrast

On white

8.05
#752E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#752E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E99
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E99#FFFFFF#000000##FFFFFF
##752E991.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e99;
/* rgb */ color: rgb(117, 46, 153);
/* oklch */ color: oklch(45.3% 0.171 311.9);
Tailwind
colors: {
  custom: {
    50: '#a06db8',
    500: '#752e99',
    950: '#000000',
  },
}
SCSS
$custom: #752e99;
$custom-light: #a06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#752e99",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 279.813,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.17146,
    "h": 311.9
  },
  "luminance": 0.08036
}

Semantic roles & 50–950 ramp

primary
#752E99
secondary
#84BB68
accent
#DD4B7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E99

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

Preview Lab → · Contrast checker → · Palette generator →

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