#752E9D#752E9D

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

Color values

HEX#752E9D
RGBrgb(117, 46, 157)
HSLhsl(278, 55%, 40%)
HSVhsv(278, 71%, 62%)
CMYKcmyk(25.5%, 70.7%, 0%, 38.4%)
CIE-LABlab(34.34, 49.57, -47.16)
CIE-LCHlch(34.34, 68.42, 316.43°)
OKLaboklab(45.58% 0.1142 -0.1334)
OKLCHoklch(45.58% 0.176 310.6)
XYZxyz(14.3977, 8.1705, 32.7104)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E9D #569D2E
analogous
#3D2E9D #752E9D #9D2E8E
triadic
#752E9D #9D752E #2E9D75
tetradic
#752E9D #9D3D2E #569D2E #2E8E9D
square
#752E9D #9D3D2E #569D2E #2E8E9D
split-complementary
#752E9D #8E9D2E #2E9D3D
monochromatic
#2E123E #52206E #752E9D #9741C7 #B170D5

Accessibility & contrast

On white

7.97
#752E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#752E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E9D
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E9D#FFFFFF#000000##FFFFFF
##752E9D1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752e9d;
/* rgb */ color: rgb(117, 46, 157);
/* oklch */ color: oklch(45.6% 0.176 310.6);
Tailwind
colors: {
  custom: {
    50: '#a16dbb',
    500: '#752e9d',
    950: '#000000',
  },
}
SCSS
$custom: #752e9d;
$custom-light: #a16dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#752e9d",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 278.378,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.17555,
    "h": 310.6
  },
  "luminance": 0.0817
}

Semantic roles & 50–950 ramp

primary
#752E9D
secondary
#88BD6A
accent
#DE4A7F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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