#752FA0#752FA0

#752FA0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.177 H 309.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#752FA0
RGBrgb(117, 47, 160)
HSLhsl(277, 55%, 41%)
HSVhsv(277, 71%, 63%)
CMYKcmyk(26.9%, 70.6%, 0%, 37.3%)
CIE-LABlab(34.71, 49.80, -48.38)
CIE-LCHlch(34.71, 69.43, 315.83°)
OKLaboklab(45.91% 0.1127 -0.1369)
OKLCHoklch(45.91% 0.177 309.5)
XYZxyz(14.6965, 8.3533, 34.0890)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA0 #5AA02F
analogous
#3C2FA0 #752FA0 #A02F92
triadic
#752FA0 #A0752F #2FA075
tetradic
#752FA0 #A03C2F #5AA02F #2F92A0
square
#752FA0 #A03C2F #5AA02F #2F92A0
split-complementary
#752FA0 #92A02F #2FA03C
monochromatic
#301341 #522171 #752FA0 #9644C8 #B073D6

Accessibility & contrast

On white

7.86
#752FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#752FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FA0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FA0#FFFFFF#000000##FFFFFF
##752FA01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#19539E
Tritanopia (blue-blind)
#6F4864
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752fa0;
/* rgb */ color: rgb(117, 47, 160);
/* oklch */ color: oklch(45.9% 0.177 309.5);
Tailwind
colors: {
  custom: {
    50: '#a16dbd',
    500: '#752fa0',
    950: '#000000',
  },
}
SCSS
$custom: #752fa0;
$custom-light: #a16dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa0",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 277.168,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45912,
    "c": 0.17735,
    "h": 309.5
  },
  "luminance": 0.08353
}

Semantic roles & 50–950 ramp

primary
#752FA0
secondary
#8CBE6D
accent
#DE4A82
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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