#752BAD#752BAD

#752BAD is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.5% C 0.195 H 305.9°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#752BAD
RGBrgb(117, 43, 173)
HSLhsl(274, 60%, 42%)
HSVhsv(274, 75%, 68%)
CMYKcmyk(32.4%, 75.1%, 0%, 32.2%)
CIE-LABlab(35.06, 54.51, -55.62)
CIE-LCHlch(35.06, 77.88, 314.42°)
OKLaboklab(46.46% 0.1146 -0.1582)
OKLCHoklch(46.46% 0.195 305.9)
XYZxyz(15.7412, 8.5269, 40.3437)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BAD #63AD2B
analogous
#342BAD #752BAD #AD2BA4
triadic
#752BAD #AD752B #2BAD75
tetradic
#752BAD #AD342B #63AD2B #2BA4AD
square
#752BAD #AD342B #63AD2B #2BA4AD
split-complementary
#752BAD #A4AD2B #2BAD34
monochromatic
#33134B #541F7C #752BAD #9445D1 #B076DD

Accessibility & contrast

On white

7.76
#752BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752BAD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BAD#FFFFFF#000000##FFFFFF
##752BAD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0053AA
Tritanopia (blue-blind)
#6B4B6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752bad;
/* rgb */ color: rgb(117, 43, 173);
/* oklch */ color: oklch(46.5% 0.195 305.9);
Tailwind
colors: {
  custom: {
    50: '#a26cc6',
    500: '#752bad',
    950: '#000000',
  },
}
SCSS
$custom: #752bad;
$custom-light: #a26cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#752bad",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 274.154,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46463,
    "c": 0.19533,
    "h": 305.9
  },
  "luminance": 0.08527
}

Semantic roles & 50–950 ramp

primary
#752BAD
secondary
#94C46F
accent
#E34489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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