#752D9B#752D9B

#752D9B is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.175 H 311.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#752D9B
RGBrgb(117, 45, 155)
HSLhsl(279, 55%, 39%)
HSVhsv(279, 71%, 61%)
CMYKcmyk(24.5%, 71%, 0%, 39.2%)
CIE-LABlab(34.04, 49.57, -46.43)
CIE-LCHlch(34.04, 67.92, 316.87°)
OKLaboklab(45.32% 0.1155 -0.1312)
OKLCHoklch(45.32% 0.175 311.4)
XYZxyz(14.1898, 8.0256, 31.8056)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752D9B #539B2D
analogous
#3E2D9B #752D9B #9B2D8A
triadic
#752D9B #9B752D #2D9B75
tetradic
#752D9B #9B3E2D #539B2D #2D8A9B
square
#752D9B #9B3E2D #539B2D #2D8A9B
split-complementary
#752D9B #8A9B2D #2D9B3E
monochromatic
#2D113C #511F6C #752D9B #983EC7 #B16ED5

Accessibility & contrast

On white

8.06
#752D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#752D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752D9B
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752D9B#FFFFFF#000000##FFFFFF
##752D9B1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#1E5199
Tritanopia (blue-blind)
#704561
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752d9b;
/* rgb */ color: rgb(117, 45, 155);
/* oklch */ color: oklch(45.3% 0.175 311.4);
Tailwind
colors: {
  custom: {
    50: '#a16cb9',
    500: '#752d9b',
    950: '#000000',
  },
}
SCSS
$custom: #752d9b;
$custom-light: #a16cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#752d9b",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 279.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45321,
    "c": 0.1748,
    "h": 311.4
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#752D9B
secondary
#85BC68
accent
#DE497D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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