#752EA7#752EA7

#752EA7 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.186 H 307.4°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#752EA7
RGBrgb(117, 46, 167)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(29.9%, 72.5%, 0%, 34.5%)
CIE-LABlab(35.06, 51.85, -52.03)
CIE-LCHlch(35.06, 73.45, 314.90°)
OKLaboklab(46.32% 0.1128 -0.1477)
OKLCHoklch(46.32% 0.186 307.4)
XYZxyz(15.2867, 8.5261, 37.3921)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA7 #60A72E
analogous
#392EA7 #752EA7 #A72E9D
triadic
#752EA7 #A7752E #2EA775
tetradic
#752EA7 #A7392E #60A72E #2E9DA7
square
#752EA7 #A7392E #60A72E #2E9DA7
split-complementary
#752EA7 #9DA72E #2EA739
monochromatic
#321447 #532177 #752EA7 #9546CC #B076D9

Accessibility & contrast

On white

7.76
#752EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#752EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA7#FFFFFF#000000##FFFFFF
##752EA71.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0353A4
Tritanopia (blue-blind)
#6D4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea7;
/* rgb */ color: rgb(117, 46, 167);
/* oklch */ color: oklch(46.3% 0.186 307.4);
Tailwind
colors: {
  custom: {
    50: '#a16dc2',
    500: '#752ea7',
    950: '#000000',
  },
}
SCSS
$custom: #752ea7;
$custom-light: #a16dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea7",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 275.207,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46319,
    "c": 0.18579,
    "h": 307.4
  },
  "luminance": 0.08526
}

Semantic roles & 50–950 ramp

primary
#752EA7
secondary
#91C170
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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