#752CA8#752CA8

#752CA8 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.189 H 307.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#752CA8
RGBrgb(117, 44, 168)
HSLhsl(275, 58%, 42%)
HSVhsv(275, 74%, 66%)
CMYKcmyk(30.4%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.82, 52.94, -53.01)
CIE-LCHlch(34.82, 74.92, 314.97°)
OKLaboklab(46.18% 0.1146 -0.1505)
OKLCHoklch(46.18% 0.189 307.3)
XYZxyz(15.3032, 8.4106, 37.8554)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA8 #5FA82C
analogous
#372CA8 #752CA8 #A82C9D
triadic
#752CA8 #A8752C #2CA875
tetradic
#752CA8 #A8372C #5FA82C #2C9DA8
square
#752CA8 #A8372C #5FA82C #2C9DA8
split-complementary
#752CA8 #9DA82C #2CA837
monochromatic
#311347 #531F78 #752CA8 #9543CE #B074DB

Accessibility & contrast

On white

7.83
#752CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#752CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA8
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA8#FFFFFF#000000##FFFFFF
##752CA81.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6C4968
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ca8;
/* rgb */ color: rgb(117, 44, 168);
/* oklch */ color: oklch(46.2% 0.189 307.3);
Tailwind
colors: {
  custom: {
    50: '#a16cc3',
    500: '#752ca8',
    950: '#000000',
  },
}
SCSS
$custom: #752ca8;
$custom-light: #a16cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca8",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 275.323,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46179,
    "c": 0.18917,
    "h": 307.3
  },
  "luminance": 0.0841
}

Semantic roles & 50–950 ramp

primary
#752CA8
secondary
#90C26E
accent
#E24686
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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