#752A9E#752A9E

#752A9E is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 310.6°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#752A9E
RGBrgb(117, 42, 158)
HSLhsl(279, 58%, 39%)
HSVhsv(279, 73%, 62%)
CMYKcmyk(25.9%, 73.4%, 0%, 38%)
CIE-LABlab(33.79, 51.54, -48.65)
CIE-LCHlch(33.79, 70.88, 316.65°)
OKLaboklab(45.21% 0.1182 -0.1377)
OKLCHoklch(45.21% 0.182 310.6)
XYZxyz(14.3344, 7.9068, 33.1122)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A9E #539E2A
analogous
#3B2A9E #752A9E #9E2A8D
triadic
#752A9E #9E752A #2A9E75
tetradic
#752A9E #9E3B2A #539E2A #2A8D9E
square
#752A9E #9E3B2A #539E2A #2A8D9E
split-complementary
#752A9E #8D9E2A #2A9E3B
monochromatic
#2D103D #511D6E #752A9E #983ACB #B16BD8

Accessibility & contrast

On white

8.14
#752A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#752A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A9E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A9E#FFFFFF#000000##FFFFFF
##752A9E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA1
Deuteranopia (green-blind)
#15519C
Tritanopia (blue-blind)
#6F4461
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752a9e;
/* rgb */ color: rgb(117, 42, 158);
/* oklch */ color: oklch(45.2% 0.182 310.6);
Tailwind
colors: {
  custom: {
    50: '#a16bbb',
    500: '#752a9e',
    950: '#000000',
  },
}
SCSS
$custom: #752a9e;
$custom-light: #a16bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752a9e",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 158
  },
  "hsl": {
    "h": 278.793,
    "s": 58,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45212,
    "c": 0.18151,
    "h": 310.6
  },
  "luminance": 0.07906
}

Semantic roles & 50–950 ramp

primary
#752A9E
secondary
#85BE66
accent
#E1477D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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