#752EA1#752EA1

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

Color values

HEX#752EA1
RGBrgb(117, 46, 161)
HSLhsl(277, 56%, 41%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(27.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(34.62, 50.47, -49.12)
CIE-LCHlch(34.62, 70.43, 315.78°)
OKLaboklab(45.87% 0.1137 -0.1391)
OKLCHoklch(45.87% 0.18 309.2)
XYZxyz(14.7448, 8.3094, 34.5384)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EA1 #5AA12E
analogous
#3B2EA1 #752EA1 #A12E94
triadic
#752EA1 #A1752E #2EA175
tetradic
#752EA1 #A13B2E #5AA12E #2E94A1
square
#752EA1 #A13B2E #5AA12E #2E94A1
split-complementary
#752EA1 #94A12E #2EA13B
monochromatic
#301342 #522071 #752EA1 #9643C9 #B073D7

Accessibility & contrast

On white

7.89
#752EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EA1
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EA1#FFFFFF#000000##FFFFFF
##752EA11.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA4
Deuteranopia (green-blind)
#15529F
Tritanopia (blue-blind)
#6F4864
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ea1;
/* rgb */ color: rgb(117, 46, 161);
/* oklch */ color: oklch(45.9% 0.180 309.2);
Tailwind
colors: {
  custom: {
    50: '#a16dbd',
    500: '#752ea1',
    950: '#000000',
  },
}
SCSS
$custom: #752ea1;
$custom-light: #a16dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752ea1",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 277.043,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.17964,
    "h": 309.2
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#752EA1
secondary
#8CBE6C
accent
#DF4982
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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