#752BA7#752BA7

#752BA7 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.189 H 307.7°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#752BA7
RGBrgb(117, 43, 167)
HSLhsl(276, 59%, 41%)
HSVhsv(276, 74%, 65%)
CMYKcmyk(29.9%, 74.3%, 0%, 34.5%)
CIE-LABlab(34.60, 53.14, -52.77)
CIE-LCHlch(34.60, 74.89, 315.20°)
OKLaboklab(46% 0.1157 -0.1498)
OKLCHoklch(46% 0.189 307.7)
XYZxyz(15.1736, 8.2999, 37.3544)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA7 #5DA72B
analogous
#372BA7 #752BA7 #A72B9B
triadic
#752BA7 #A7752B #2BA775
tetradic
#752BA7 #A7372B #5DA72B #2B9BA7
square
#752BA7 #A7372B #5DA72B #2B9BA7
split-complementary
#752BA7 #9BA72B #2BA737
monochromatic
#311246 #531E76 #752BA7 #9541CE #B072DB

Accessibility & contrast

On white

7.89
#752BA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752BA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA7#FFFFFF#000000##FFFFFF
##752BA71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ba7;
/* rgb */ color: rgb(117, 43, 167);
/* oklch */ color: oklch(46.0% 0.189 307.7);
Tailwind
colors: {
  custom: {
    50: '#a16cc2',
    500: '#752ba7',
    950: '#000000',
  },
}
SCSS
$custom: #752ba7;
$custom-light: #a16cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba7",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 167
  },
  "hsl": {
    "h": 275.806,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.18931,
    "h": 307.7
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#752BA7
secondary
#8FC26C
accent
#E24685
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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