#752EA2#752EA2

#752EA2 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.9% C 0.181 H 308.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#752EA2
RGBrgb(117, 46, 162)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 72%, 64%)
CMYKcmyk(27.8%, 71.6%, 0%, 36.5%)
CIE-LABlab(34.69, 50.70, -49.61)
CIE-LCHlch(34.69, 70.94, 315.62°)
OKLaboklab(45.95% 0.1135 -0.1405)
OKLCHoklch(45.95% 0.181 308.9)
XYZxyz(14.8334, 8.3448, 35.0047)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA2 #5BA22E
analogous
#3B2EA2 #752EA2 #A22E95
triadic
#752EA2 #A2752E #2EA275
tetradic
#752EA2 #A23B2E #5BA22E #2E95A2
square
#752EA2 #A23B2E #5BA22E #2E95A2
split-complementary
#752EA2 #95A22E #2EA23B
monochromatic
#301343 #532072 #752EA2 #9643CA #B073D7

Accessibility & contrast

On white

7.87
#752EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#752EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA2#FFFFFF#000000##FFFFFF
##752EA21.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#1352A0
Tritanopia (blue-blind)
#6E4865
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ea2;
/* rgb */ color: rgb(117, 46, 162);
/* oklch */ color: oklch(45.9% 0.181 308.9);
Tailwind
colors: {
  custom: {
    50: '#a16dbe',
    500: '#752ea2',
    950: '#000000',
  },
}
SCSS
$custom: #752ea2;
$custom-light: #a16dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea2",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 276.724,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.18066,
    "h": 308.9
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#752EA2
secondary
#8DBF6D
accent
#DF4983
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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