#752EA8#752EA8

#752EA8 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.187 H 307.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#752EA8
RGBrgb(117, 46, 168)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 73%, 66%)
CMYKcmyk(30.4%, 72.6%, 0%, 34.1%)
CIE-LABlab(35.13, 52.08, -52.51)
CIE-LCHlch(35.13, 73.95, 314.76°)
OKLaboklab(46.4% 0.1126 -0.1491)
OKLCHoklch(46.4% 0.187 307.1)
XYZxyz(15.3795, 8.5632, 37.8809)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA8 #61A82E
analogous
#382EA8 #752EA8 #A82E9E
triadic
#752EA8 #A8752E #2EA875
tetradic
#752EA8 #A8382E #61A82E #2E9EA8
square
#752EA8 #A8382E #61A82E #2E9EA8
split-complementary
#752EA8 #9EA82E #2EA838
monochromatic
#321448 #542178 #752EA8 #9547CD #B077DA

Accessibility & contrast

On white

7.74
#752EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#752EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA8#FFFFFF#000000##FFFFFF
##752EA81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ea8;
/* rgb */ color: rgb(117, 46, 168);
/* oklch */ color: oklch(46.4% 0.187 307.1);
Tailwind
colors: {
  custom: {
    50: '#a16dc3',
    500: '#752ea8',
    950: '#000000',
  },
}
SCSS
$custom: #752ea8;
$custom-light: #a16dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea8",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 274.918,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46395,
    "c": 0.18681,
    "h": 307.1
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#752EA8
secondary
#92C270
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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