#752AA7#752AA7

#752AA7 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.190 H 307.8°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#752AA7
RGBrgb(117, 42, 167)
HSLhsl(276, 60%, 41%)
HSVhsv(276, 75%, 65%)
CMYKcmyk(29.9%, 74.9%, 0%, 34.5%)
CIE-LABlab(34.45, 53.55, -53.01)
CIE-LCHlch(34.45, 75.35, 315.29°)
OKLaboklab(45.89% 0.1167 -0.1505)
OKLCHoklch(45.89% 0.19 307.8)
XYZxyz(15.1377, 8.2281, 37.3424)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA7 #5CA72A
analogous
#362AA7 #752AA7 #A72A9A
triadic
#752AA7 #A7752A #2AA775
tetradic
#752AA7 #A7362A #5CA72A #2A9AA7
square
#752AA7 #A7362A #5CA72A #2A9AA7
split-complementary
#752AA7 #9AA72A #2AA736
monochromatic
#301145 #531E76 #752AA7 #953FCF #B070DB

Accessibility & contrast

On white

7.94
#752AA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#752AA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA7
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA7#FFFFFF#000000##FFFFFF
##752AA71.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAB
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#6D4867
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752aa7;
/* rgb */ color: rgb(117, 42, 167);
/* oklch */ color: oklch(45.9% 0.190 307.8);
Tailwind
colors: {
  custom: {
    50: '#a26bc2',
    500: '#752aa7',
    950: '#000000',
  },
}
SCSS
$custom: #752aa7;
$custom-light: #a26bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa7",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 276,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.19045,
    "h": 307.8
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#752AA7
secondary
#8EC26B
accent
#E34584
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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