#752BA4#752BA4

#752BA4 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.8% C 0.186 H 308.6°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#752BA4
RGBrgb(117, 43, 164)
HSLhsl(277, 58%, 41%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(28.7%, 73.8%, 0%, 35.7%)
CIE-LABlab(34.38, 52.46, -51.33)
CIE-LCHlch(34.38, 73.39, 315.62°)
OKLaboklab(45.77% 0.1163 -0.1456)
OKLCHoklch(45.77% 0.186 308.6)
XYZxyz(14.8995, 8.1903, 35.9107)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA4 #5AA42B
analogous
#382BA4 #752BA4 #A42B96
triadic
#752BA4 #A4752B #2BA475
tetradic
#752BA4 #A4382B #5AA42B #2B96A4
square
#752BA4 #A4382B #5AA42B #2B96A4
split-complementary
#752BA4 #96A42B #2BA438
monochromatic
#301243 #521E74 #752BA4 #963FCD #B070D9

Accessibility & contrast

On white

7.96
#752BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#752BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA4
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA4#FFFFFF#000000##FFFFFF
##752BA41.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0552A1
Tritanopia (blue-blind)
#6E4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ba4;
/* rgb */ color: rgb(117, 43, 164);
/* oklch */ color: oklch(45.8% 0.186 308.6);
Tailwind
colors: {
  custom: {
    50: '#a16cc0',
    500: '#752ba4',
    950: '#000000',
  },
}
SCSS
$custom: #752ba4;
$custom-light: #a16cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba4",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 276.694,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.1863,
    "h": 308.6
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#752BA4
secondary
#8CC16A
accent
#E24683
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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