#752E9E#752E9E

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

Color values

HEX#752E9E
RGBrgb(117, 46, 158)
HSLhsl(278, 55%, 40%)
HSVhsv(278, 71%, 62%)
CMYKcmyk(25.9%, 70.9%, 0%, 38%)
CIE-LABlab(34.41, 49.80, -47.66)
CIE-LCHlch(34.41, 68.93, 316.26°)
OKLaboklab(45.65% 0.114 -0.1348)
OKLCHoklch(45.65% 0.177 310.2)
XYZxyz(14.4835, 8.2048, 33.1618)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E9E #579E2E
analogous
#3D2E9E #752E9E #9E2E8F
triadic
#752E9E #9E752E #2E9E75
tetradic
#752E9E #9E3D2E #579E2E #2E8F9E
square
#752E9E #9E3D2E #579E2E #2E8F9E
split-complementary
#752E9E #8F9E2E #2E9E3D
monochromatic
#2F123F #52206F #752E9E #9741C8 #B171D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752E9E#FFFFFF#000000##FFFFFF
##752E9E1.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)
#004EA1
Deuteranopia (green-blind)
#1B529C
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752e9e;
/* rgb */ color: rgb(117, 46, 158);
/* oklch */ color: oklch(45.7% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#a16dbb',
    500: '#752e9e',
    950: '#000000',
  },
}
SCSS
$custom: #752e9e;
$custom-light: #a16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752e9e",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 278.036,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.45652,
    "c": 0.17658,
    "h": 310.2
  },
  "luminance": 0.08205
}

Semantic roles & 50–950 ramp

primary
#752E9E
secondary
#89BD6B
accent
#DE4A80
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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