#752FA7#752FA7

#752FA7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.185 H 307.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#752FA7
RGBrgb(117, 47, 167)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(29.9%, 71.9%, 0%, 34.5%)
CIE-LABlab(35.21, 51.40, -51.78)
CIE-LCHlch(35.21, 72.96, 314.79°)
OKLaboklab(46.43% 0.1117 -0.1469)
OKLCHoklch(46.43% 0.185 307.3)
XYZxyz(15.3262, 8.6052, 37.4053)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA7 #61A72F
analogous
#392FA7 #752FA7 #A72F9D
triadic
#752FA7 #A7752F #2FA775
tetradic
#752FA7 #A7392F #61A72F #2F9DA7
square
#752FA7 #A7392F #61A72F #2F9DA7
split-complementary
#752FA7 #9DA72F #2FA739
monochromatic
#321447 #542277 #752FA7 #9548CB #B078D9

Accessibility & contrast

On white

7.72
#752FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#752FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FA7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FA7#FFFFFF#000000##FFFFFF
##752FA71.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0653A4
Tritanopia (blue-blind)
#6D4B68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752fa7;
/* rgb */ color: rgb(117, 47, 167);
/* oklch */ color: oklch(46.4% 0.185 307.3);
Tailwind
colors: {
  custom: {
    50: '#a16ec2',
    500: '#752fa7',
    950: '#000000',
  },
}
SCSS
$custom: #752fa7;
$custom-light: #a16ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa7",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 275,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46431,
    "c": 0.18458,
    "h": 307.3
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#752FA7
secondary
#92C171
accent
#DF4887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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