#752DA8#752DA8

#752DA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.188 H 307.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#752DA8
RGBrgb(117, 45, 168)
HSLhsl(275, 58%, 42%)
HSVhsv(275, 73%, 66%)
CMYKcmyk(30.4%, 73.2%, 0%, 34.1%)
CIE-LABlab(34.98, 52.51, -52.76)
CIE-LCHlch(34.98, 74.44, 314.87°)
OKLaboklab(46.29% 0.1136 -0.1498)
OKLCHoklch(46.29% 0.188 307.2)
XYZxyz(15.3409, 8.4860, 37.8680)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA8 #60A82D
analogous
#382DA8 #752DA8 #A82D9E
triadic
#752DA8 #A8752D #2DA875
tetradic
#752DA8 #A8382D #60A82D #2D9EA8
square
#752DA8 #A8382D #60A82D #2D9EA8
split-complementary
#752DA8 #9EA82D #2DA838
monochromatic
#321347 #532078 #752DA8 #9545CD #B075DA

Accessibility & contrast

On white

7.79
#752DA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#752DA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DA8
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA8#FFFFFF#000000##FFFFFF
##752DA81.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6C4A68
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752da8;
/* rgb */ color: rgb(117, 45, 168);
/* oklch */ color: oklch(46.3% 0.188 307.2);
Tailwind
colors: {
  custom: {
    50: '#a16dc3',
    500: '#752da8',
    950: '#000000',
  },
}
SCSS
$custom: #752da8;
$custom-light: #a16dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752da8",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 168
  },
  "hsl": {
    "h": 275.122,
    "s": 57.746,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.188,
    "h": 307.2
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#752DA8
secondary
#91C26F
accent
#E14787
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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