#752DA6#752DA6

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

Color values

HEX#752DA6
RGBrgb(117, 45, 166)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 65%)
CMYKcmyk(29.5%, 72.9%, 0%, 34.9%)
CIE-LABlab(34.83, 52.05, -51.80)
CIE-LCHlch(34.83, 73.44, 315.14°)
OKLaboklab(46.13% 0.1139 -0.147)
OKLCHoklch(46.13% 0.186 307.8)
XYZxyz(15.1560, 8.4121, 36.8943)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA6 #5EA62D
analogous
#382DA6 #752DA6 #A62D9B
triadic
#752DA6 #A6752D #2DA675
tetradic
#752DA6 #A6382D #5EA62D #2D9BA6
square
#752DA6 #A6382D #5EA62D #2D9BA6
split-complementary
#752DA6 #9BA62D #2DA638
monochromatic
#311346 #532076 #752DA6 #9544CC #B074D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752DA6#FFFFFF#000000##FFFFFF
##752DA61.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)
#004FA9
Deuteranopia (green-blind)
#0353A3
Tritanopia (blue-blind)
#6D4967
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752da6;
/* rgb */ color: rgb(117, 45, 166);
/* oklch */ color: oklch(46.1% 0.186 307.8);
Tailwind
colors: {
  custom: {
    50: '#a16dc1',
    500: '#752da6',
    950: '#000000',
  },
}
SCSS
$custom: #752da6;
$custom-light: #a16dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#752da6",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 275.702,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46134,
    "c": 0.18597,
    "h": 307.8
  },
  "luminance": 0.08412
}

Semantic roles & 50–950 ramp

primary
#752DA6
secondary
#8FC16E
accent
#E14785
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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