#752EAC#752EAC

#752EAC is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.191 H 305.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#752EAC
RGBrgb(117, 46, 172)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(32%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.43, 53.00, -54.42)
CIE-LCHlch(35.43, 75.96, 314.24°)
OKLaboklab(46.7% 0.1119 -0.1547)
OKLCHoklch(46.7% 0.191 305.9)
XYZxyz(15.7579, 8.7146, 39.8737)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EAC #65AC2E
analogous
#362EAC #752EAC #AC2EA4
triadic
#752EAC #AC752E #2EAC75
tetradic
#752EAC #AC362E #65AC2E #2EA4AC
square
#752EAC #AC362E #65AC2E #2EA4AC
split-complementary
#752EAC #A4AC2E #2EAC36
monochromatic
#33144B #54217C #752EAC #9449CE #B079DB

Accessibility & contrast

On white

7.66
#752EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#752EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EAC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EAC#FFFFFF#000000##FFFFFF
##752EAC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6B4C6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752eac;
/* rgb */ color: rgb(117, 46, 172);
/* oklch */ color: oklch(46.7% 0.191 305.9);
Tailwind
colors: {
  custom: {
    50: '#a26dc6',
    500: '#752eac',
    950: '#000000',
  },
}
SCSS
$custom: #752eac;
$custom-light: #a26dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#752eac",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 273.81,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46702,
    "c": 0.19091,
    "h": 305.9
  },
  "luminance": 0.08714
}

Semantic roles & 50–950 ramp

primary
#752EAC
secondary
#96C372
accent
#E1478A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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