#752FA8#752FA8

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

Color values

HEX#752FA8
RGBrgb(117, 47, 168)
HSLhsl(275, 56%, 42%)
HSVhsv(275, 72%, 66%)
CMYKcmyk(30.4%, 72%, 0%, 34.1%)
CIE-LABlab(35.29, 51.63, -52.26)
CIE-LCHlch(35.29, 73.46, 314.66°)
OKLaboklab(46.51% 0.1116 -0.1483)
OKLCHoklch(46.51% 0.186 306.9)
XYZxyz(15.4190, 8.6423, 37.8940)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FA8 #62A82F
analogous
#392FA8 #752FA8 #A82F9E
triadic
#752FA8 #A8752F #2FA875
tetradic
#752FA8 #A8392F #62A82F #2F9EA8
square
#752FA8 #A8392F #62A82F #2F9EA8
split-complementary
#752FA8 #9EA82F #2FA839
monochromatic
#321448 #542278 #752FA8 #9448CC #B078D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752FA8#FFFFFF#000000##FFFFFF
##752FA81.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)
#0051AB
Deuteranopia (green-blind)
#0253A5
Tritanopia (blue-blind)
#6C4B68
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752fa8;
/* rgb */ color: rgb(117, 47, 168);
/* oklch */ color: oklch(46.5% 0.186 306.9);
Tailwind
colors: {
  custom: {
    50: '#a16ec3',
    500: '#752fa8',
    950: '#000000',
  },
}
SCSS
$custom: #752fa8;
$custom-light: #a16ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#752fa8",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 274.711,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.18561,
    "h": 306.9
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#752FA8
secondary
#93C171
accent
#E04888
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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