#752DC7#752DC7

#752DC7 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.219 H 299.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#752DC7
RGBrgb(117, 45, 199)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 77%, 78%)
CMYKcmyk(41.2%, 77.4%, 0%, 22%)
CIE-LABlab(37.45, 59.81, -67.06)
CIE-LCHlch(37.45, 89.86, 311.73°)
OKLaboklab(48.8% 0.1066 -0.1918)
OKLCHoklch(48.8% 0.219 299.1)
XYZxyz(18.5807, 9.7819, 54.9309)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DC7 #7FC72D
analogous
#2D32C7 #752DC7 #C22DC7
triadic
#752DC7 #C7752D #2DC775
tetradic
#752DC7 #C72D32 #7FC72D #2DC7C2
square
#752DC7 #C72D32 #7FC72D #2DC7C2
split-complementary
#752DC7 #C7C22D #32C72D
monochromatic
#3A1663 #582295 #752DC7 #9458D9 #B48AE5

Accessibility & contrast

On white

7.10
#752DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#752DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DC7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DC7#FFFFFF#000000##FFFFFF
##752DC71.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#615779
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #752dc7;
/* rgb */ color: rgb(117, 45, 199);
/* oklch */ color: oklch(48.8% 0.219 299.1);
Tailwind
colors: {
  custom: {
    50: '#a46ed9',
    500: '#752dc7',
    950: '#000000',
  },
}
SCSS
$custom: #752dc7;
$custom-light: #a46ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#752dc7",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 268.052,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48795,
    "c": 0.21944,
    "h": 299.1
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#752DC7
secondary
#AACE81
accent
#E64299
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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