#752EA6#752EA6

#752EA6 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.185 H 307.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#752EA6
RGBrgb(117, 46, 166)
HSLhsl(276, 57%, 42%)
HSVhsv(276, 72%, 65%)
CMYKcmyk(29.5%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.98, 51.62, -51.55)
CIE-LCHlch(34.98, 72.95, 315.04°)
OKLaboklab(46.24% 0.1129 -0.1462)
OKLCHoklch(46.24% 0.185 307.7)
XYZxyz(15.1946, 8.4893, 36.9071)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA6 #5FA62E
analogous
#392EA6 #752EA6 #A62E9B
triadic
#752EA6 #A6752E #2EA675
tetradic
#752EA6 #A6392E #5FA62E #2E9BA6
square
#752EA6 #A6392E #5FA62E #2E9BA6
split-complementary
#752EA6 #9BA62E #2EA639
monochromatic
#311346 #532176 #752EA6 #9546CC #B076D9

Accessibility & contrast

On white

7.78
#752EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752EA6
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA6#FFFFFF#000000##FFFFFF
##752EA61.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0653A3
Tritanopia (blue-blind)
#6D4A67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea6;
/* rgb */ color: rgb(117, 46, 166);
/* oklch */ color: oklch(46.2% 0.185 307.7);
Tailwind
colors: {
  custom: {
    50: '#a16dc1',
    500: '#752ea6',
    950: '#000000',
  },
}
SCSS
$custom: #752ea6;
$custom-light: #a16dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea6",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 275.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.18477,
    "h": 307.7
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#752EA6
secondary
#90C16F
accent
#E04886
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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