#752EAA#752EAA

#752EAA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.189 H 306.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#752EAA
RGBrgb(117, 46, 170)
HSLhsl(274, 57%, 42%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.2%, 72.9%, 0%, 33.3%)
CIE-LABlab(35.28, 52.54, -53.47)
CIE-LCHlch(35.28, 74.96, 314.50°)
OKLaboklab(46.55% 0.1123 -0.1519)
OKLCHoklch(46.55% 0.189 306.5)
XYZxyz(15.5672, 8.6383, 38.8697)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EAA #63AA2E
analogous
#372EAA #752EAA #AA2EA1
triadic
#752EAA #AA752E #2EAA75
tetradic
#752EAA #AA372E #63AA2E #2EA1AA
square
#752EAA #AA372E #63AA2E #2EA1AA
split-complementary
#752EAA #A1AA2E #2EAA37
monochromatic
#33144A #54217A #752EAA #9448CD #B078DA

Accessibility & contrast

On white

7.70
#752EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#752EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EAA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EAA#FFFFFF#000000##FFFFFF
##752EAA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6C4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752eaa;
/* rgb */ color: rgb(117, 46, 170);
/* oklch */ color: oklch(46.5% 0.189 306.5);
Tailwind
colors: {
  custom: {
    50: '#a26dc4',
    500: '#752eaa',
    950: '#000000',
  },
}
SCSS
$custom: #752eaa;
$custom-light: #a26dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#752eaa",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 274.355,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46548,
    "c": 0.18886,
    "h": 306.5
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#752EAA
secondary
#94C371
accent
#E14789
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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