#752EB7#752EB7

#752EB7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.202 H 302.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#752EB7
RGBrgb(117, 46, 183)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(36.1%, 74.9%, 0%, 28.2%)
CIE-LABlab(36.28, 55.58, -59.57)
CIE-LCHlch(36.28, 81.47, 313.02°)
OKLaboklab(47.57% 0.1097 -0.1698)
OKLCHoklch(47.57% 0.202 302.9)
XYZxyz(16.8583, 9.1548, 45.6695)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB7 #70B72E
analogous
#312EB7 #752EB7 #B72EB4
triadic
#752EB7 #B7752E #2EB775
tetradic
#752EB7 #B7312E #70B72E #2EB4B7
square
#752EB7 #B7312E #70B72E #2EB4B7
split-complementary
#752EB7 #B4B72E #2EB731
monochromatic
#361555 #562286 #752EB7 #934FD3 #B180DF

Accessibility & contrast

On white

7.42
#752EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#752EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB7
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB7#FFFFFF#000000##FFFFFF
##752EB71.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#675171
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752eb7;
/* rgb */ color: rgb(117, 46, 183);
/* oklch */ color: oklch(47.6% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#752eb7',
    950: '#000000',
  },
}
SCSS
$custom: #752eb7;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb7",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 271.095,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.20217,
    "h": 302.9
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#752EB7
secondary
#9FC879
accent
#E34591
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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