#752F9E#752F9E

#752F9E is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.8% C 0.175 H 310.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#752F9E
RGBrgb(117, 47, 158)
HSLhsl(278, 54%, 40%)
HSVhsv(278, 70%, 62%)
CMYKcmyk(25.9%, 70.3%, 0%, 38%)
CIE-LABlab(34.57, 49.34, -47.40)
CIE-LCHlch(34.57, 68.42, 316.15°)
OKLaboklab(45.77% 0.113 -0.134)
OKLCHoklch(45.77% 0.175 310.1)
XYZxyz(14.5230, 8.2839, 33.1750)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F9E #589E2F
analogous
#3E2F9E #752F9E #9E2F8F
triadic
#752F9E #9E752F #2F9E75
tetradic
#752F9E #9E3E2F #589E2F #2F8F9E
square
#752F9E #9E3E2F #589E2F #2F8F9E
split-complementary
#752F9E #8F9E2F #2F9E3E
monochromatic
#2F1340 #52216F #752F9E #9643C7 #B172D5

Accessibility & contrast

On white

7.90
#752F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#752F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F9E
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F9E#FFFFFF#000000##FFFFFF
##752F9E1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#1C529C
Tritanopia (blue-blind)
#6F4763
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752f9e;
/* rgb */ color: rgb(117, 47, 158);
/* oklch */ color: oklch(45.8% 0.175 310.1);
Tailwind
colors: {
  custom: {
    50: '#a16dbb',
    500: '#752f9e',
    950: '#000000',
  },
}
SCSS
$custom: #752f9e;
$custom-light: #a16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752f9e",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 277.838,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45767,
    "c": 0.17529,
    "h": 310.1
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#752F9E
secondary
#8ABD6C
accent
#DE4A81
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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