#752DA5#752DA5

#752DA5 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.185 H 308.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#752DA5
RGBrgb(117, 45, 165)
HSLhsl(276, 57%, 41%)
HSVhsv(276, 73%, 65%)
CMYKcmyk(29.1%, 72.7%, 0%, 35.3%)
CIE-LABlab(34.75, 51.83, -51.32)
CIE-LCHlch(34.75, 72.93, 315.28°)
OKLaboklab(46.06% 0.1141 -0.1456)
OKLCHoklch(46.06% 0.185 308.1)
XYZxyz(15.0646, 8.3755, 36.4130)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DA5 #5DA52D
analogous
#392DA5 #752DA5 #A52D99
triadic
#752DA5 #A5752D #2DA575
tetradic
#752DA5 #A5392D #5DA52D #2D99A5
square
#752DA5 #A5392D #5DA52D #2D99A5
split-complementary
#752DA5 #99A52D #2DA539
monochromatic
#311345 #532075 #752DA5 #9543CC #B073D9

Accessibility & contrast

On white

7.85
#752DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#752DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DA5
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DA5#FFFFFF#000000##FFFFFF
##752DA51.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0752A2
Tritanopia (blue-blind)
#6D4966
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752da5;
/* rgb */ color: rgb(117, 45, 165);
/* oklch */ color: oklch(46.1% 0.185 308.1);
Tailwind
colors: {
  custom: {
    50: '#a16dc0',
    500: '#752da5',
    950: '#000000',
  },
}
SCSS
$custom: #752da5;
$custom-light: #a16dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#752da5",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 276,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.18495,
    "h": 308.1
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#752DA5
secondary
#8FC16D
accent
#E04785
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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