#752F9A#752F9A

#752F9A is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.171 H 311.5°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#752F9A
RGBrgb(117, 47, 154)
HSLhsl(279, 53%, 39%)
HSVhsv(279, 69%, 60%)
CMYKcmyk(24%, 69.5%, 0%, 39.6%)
CIE-LABlab(34.29, 48.44, -45.42)
CIE-LCHlch(34.29, 66.40, 316.85°)
OKLaboklab(45.48% 0.1134 -0.1282)
OKLCHoklch(45.48% 0.171 311.5)
XYZxyz(14.1843, 8.1484, 31.3912)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F9A #549A2F
analogous
#3F2F9A #752F9A #9A2F8A
triadic
#752F9A #9A752F #2F9A75
tetradic
#752F9A #9A3F2F #549A2F #2F8A9A
square
#752F9A #9A3F2F #549A2F #2F8A9A
split-complementary
#752F9A #8A9A2F #2F9A3F
monochromatic
#2E123C #51216B #752F9A #9741C5 #B170D3

Accessibility & contrast

On white

7.99
#752F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#752F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F9A
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F9A#FFFFFF#000000##FFFFFF
##752F9A1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#225298
Tritanopia (blue-blind)
#704561
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752f9a;
/* rgb */ color: rgb(117, 47, 154);
/* oklch */ color: oklch(45.5% 0.171 311.5);
Tailwind
colors: {
  custom: {
    50: '#a06db8',
    500: '#752f9a',
    950: '#000000',
  },
}
SCSS
$custom: #752f9a;
$custom-light: #a06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#752f9a",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 279.252,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45481,
    "c": 0.17117,
    "h": 311.5
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#752F9A
secondary
#86BB6A
accent
#DD4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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