#752FA1#752FA1

#752FA1 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.0% C 0.178 H 309.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#752FA1
RGBrgb(117, 47, 161)
HSLhsl(277, 55%, 41%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(27.3%, 70.8%, 0%, 36.9%)
CIE-LABlab(34.78, 50.03, -48.87)
CIE-LCHlch(34.78, 69.93, 315.67°)
OKLaboklab(45.99% 0.1126 -0.1384)
OKLCHoklch(45.99% 0.178 309.1)
XYZxyz(14.7844, 8.3884, 34.5516)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA1 #5BA12F
analogous
#3C2FA1 #752FA1 #A12F94
triadic
#752FA1 #A1752F #2FA175
tetradic
#752FA1 #A13C2F #5BA12F #2F94A1
square
#752FA1 #A13C2F #5BA12F #2F94A1
split-complementary
#752FA1 #94A12F #2FA13C
monochromatic
#301342 #532172 #752FA1 #9645C9 #B074D6

Accessibility & contrast

On white

7.84
#752FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752FA1
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FA1#FFFFFF#000000##FFFFFF
##752FA11.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#17539F
Tritanopia (blue-blind)
#6F4865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752fa1;
/* rgb */ color: rgb(117, 47, 161);
/* oklch */ color: oklch(46.0% 0.178 309.1);
Tailwind
colors: {
  custom: {
    50: '#a16ebd',
    500: '#752fa1',
    950: '#000000',
  },
}
SCSS
$custom: #752fa1;
$custom-light: #a16ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa1",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 276.842,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.17838,
    "h": 309.1
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#752FA1
secondary
#8DBE6E
accent
#DE4A83
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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