#752F9C#752F9C

#752F9C is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.173 H 310.8°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#752F9C
RGBrgb(117, 47, 156)
HSLhsl(279, 54%, 40%)
HSVhsv(279, 70%, 61%)
CMYKcmyk(25%, 69.9%, 0%, 38.8%)
CIE-LABlab(34.43, 48.89, -46.41)
CIE-LCHlch(34.43, 67.41, 316.49°)
OKLaboklab(45.62% 0.1132 -0.1311)
OKLCHoklch(45.62% 0.173 310.8)
XYZxyz(14.3522, 8.2156, 32.2757)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F9C #569C2F
analogous
#3E2F9C #752F9C #9C2F8D
triadic
#752F9C #9C752F #2F9C75
tetradic
#752F9C #9C3E2F #569C2F #2F8D9C
square
#752F9C #9C3E2F #569C2F #2F8D9C
split-complementary
#752F9C #8D9C2F #2F9C3E
monochromatic
#2E133E #52216D #752F9C #9742C6 #B171D4

Accessibility & contrast

On white

7.95
#752F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F9C
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F9C#FFFFFF#000000##FFFFFF
##752F9C1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#704662
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752f9c;
/* rgb */ color: rgb(117, 47, 156);
/* oklch */ color: oklch(45.6% 0.173 310.8);
Tailwind
colors: {
  custom: {
    50: '#a06dba',
    500: '#752f9c',
    950: '#000000',
  },
}
SCSS
$custom: #752f9c;
$custom-light: #a06dba;
$custom-dark: #000000;
JSON
{
  "hex": "#752f9c",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 278.532,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.17323,
    "h": 310.8
  },
  "luminance": 0.08215
}

Semantic roles & 50–950 ramp

primary
#752F9C
secondary
#88BC6B
accent
#DD4B7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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