#752DC4#752DC4

#752DC4 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.216 H 299.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#752DC4
RGBrgb(117, 45, 196)
HSLhsl(269, 63%, 47%)
HSVhsv(269, 77%, 77%)
CMYKcmyk(40.3%, 77%, 0%, 23.1%)
CIE-LABlab(37.20, 59.09, -65.72)
CIE-LCHlch(37.20, 88.38, 311.96°)
OKLaboklab(48.54% 0.1074 -0.1879)
OKLCHoklch(48.54% 0.216 299.7)
XYZxyz(18.2358, 9.6440, 53.1146)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DC4 #7CC42D
analogous
#2D31C4 #752DC4 #C12DC4
triadic
#752DC4 #C4752D #2DC475
tetradic
#752DC4 #C42D31 #7CC42D #2DC4C1
square
#752DC4 #C42D31 #7CC42D #2DC4C1
split-complementary
#752DC4 #C4C12D #31C42D
monochromatic
#3A1660 #572292 #752DC4 #9456D8 #B488E4

Accessibility & contrast

On white

7.17
#752DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#752DC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DC4
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DC4#FFFFFF#000000##FFFFFF
##752DC41.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#625678
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #752dc4;
/* rgb */ color: rgb(117, 45, 196);
/* oklch */ color: oklch(48.5% 0.216 299.7);
Tailwind
colors: {
  custom: {
    50: '#a46ed7',
    500: '#752dc4',
    950: '#000000',
  },
}
SCSS
$custom: #752dc4;
$custom-light: #a46ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#752dc4",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 268.609,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48541,
    "c": 0.21641,
    "h": 299.7
  },
  "luminance": 0.09644
}

Semantic roles & 50–950 ramp

primary
#752DC4
secondary
#A8CD80
accent
#E64298
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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