#752AA3#752AA3

#752AA3 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.186 H 309.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#752AA3
RGBrgb(117, 42, 163)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(28.2%, 74.2%, 0%, 36.1%)
CIE-LABlab(34.15, 52.65, -51.08)
CIE-LCHlch(34.15, 73.36, 315.87°)
OKLaboklab(45.59% 0.1174 -0.1448)
OKLCHoklch(45.59% 0.186 309)
XYZxyz(14.7736, 8.0825, 35.4250)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA3 #58A32A
analogous
#392AA3 #752AA3 #A32A94
triadic
#752AA3 #A3752A #2AA375
tetradic
#752AA3 #A3392A #58A32A #2A94A3
square
#752AA3 #A3392A #58A32A #2A94A3
split-complementary
#752AA3 #94A32A #2AA339
monochromatic
#2F1142 #521D72 #752AA3 #963DCD #B16EDA

Accessibility & contrast

On white

8.03
#752AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA3
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA3#FFFFFF#000000##FFFFFF
##752AA31.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0651A0
Tritanopia (blue-blind)
#6E4664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752aa3;
/* rgb */ color: rgb(117, 42, 163);
/* oklch */ color: oklch(45.6% 0.186 309.0);
Tailwind
colors: {
  custom: {
    50: '#a16bbf',
    500: '#752aa3',
    950: '#000000',
  },
}
SCSS
$custom: #752aa3;
$custom-light: #a16bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa3",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 277.19,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45587,
    "c": 0.18647,
    "h": 309
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#752AA3
secondary
#8AC068
accent
#E24681
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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