#752BA6#752BA6

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

Color values

HEX#752BA6
RGBrgb(117, 43, 166)
HSLhsl(276, 59%, 41%)
HSVhsv(276, 74%, 65%)
CMYKcmyk(29.5%, 74.1%, 0%, 34.9%)
CIE-LABlab(34.52, 52.91, -52.29)
CIE-LCHlch(34.52, 74.39, 315.34°)
OKLaboklab(45.92% 0.1159 -0.1484)
OKLCHoklch(45.92% 0.188 308)
XYZxyz(15.0815, 8.2631, 36.8694)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA6 #5CA62B
analogous
#382BA6 #752BA6 #A62B99
triadic
#752BA6 #A6752B #2BA675
tetradic
#752BA6 #A6382B #5CA62B #2B99A6
square
#752BA6 #A6382B #5CA62B #2B99A6
split-complementary
#752BA6 #99A62B #2BA638
monochromatic
#301245 #531E75 #752BA6 #9541CE #B071DA

Accessibility & contrast

On white

7.92
#752BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#752BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA6#FFFFFF#000000##FFFFFF
##752BA61.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0052A3
Tritanopia (blue-blind)
#6D4866
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ba6;
/* rgb */ color: rgb(117, 43, 166);
/* oklch */ color: oklch(45.9% 0.188 308.0);
Tailwind
colors: {
  custom: {
    50: '#a16cc1',
    500: '#752ba6',
    950: '#000000',
  },
}
SCSS
$custom: #752ba6;
$custom-light: #a16cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba6",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 276.098,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4592,
    "c": 0.18831,
    "h": 308
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#752BA6
secondary
#8EC16B
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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