#752E9B#752E9B

#752E9B is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.174 H 311.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#752E9B
RGBrgb(117, 46, 155)
HSLhsl(279, 54%, 39%)
HSVhsv(279, 70%, 61%)
CMYKcmyk(24.5%, 70.3%, 0%, 39.2%)
CIE-LABlab(34.20, 49.12, -46.18)
CIE-LCHlch(34.20, 67.42, 316.77°)
OKLaboklab(45.43% 0.1144 -0.1305)
OKLCHoklch(45.43% 0.174 311.2)
XYZxyz(14.2284, 8.1028, 31.8185)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E9B #549B2E
analogous
#3F2E9B #752E9B #9B2E8B
triadic
#752E9B #9B752E #2E9B75
tetradic
#752E9B #9B3F2E #549B2E #2E8B9B
square
#752E9B #9B3F2E #549B2E #2E8B9B
split-complementary
#752E9B #8B9B2E #2E9B3F
monochromatic
#2E123D #51206C #752E9B #9740C6 #B16FD4

Accessibility & contrast

On white

8.01
#752E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E9B
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E9B#FFFFFF#000000##FFFFFF
##752E9B1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e9b;
/* rgb */ color: rgb(117, 46, 155);
/* oklch */ color: oklch(45.4% 0.174 311.2);
Tailwind
colors: {
  custom: {
    50: '#a06db9',
    500: '#752e9b',
    950: '#000000',
  },
}
SCSS
$custom: #752e9b;
$custom-light: #a06db9;
$custom-dark: #000000;
JSON
{
  "hex": "#752e9b",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 279.083,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45435,
    "c": 0.17351,
    "h": 311.2
  },
  "luminance": 0.08102
}

Semantic roles & 50–950 ramp

primary
#752E9B
secondary
#86BC69
accent
#DE4A7E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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