#752E9A#752E9A

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

Color values

HEX#752E9A
RGBrgb(117, 46, 154)
HSLhsl(279, 54%, 39%)
HSVhsv(279, 70%, 60%)
CMYKcmyk(24%, 70.1%, 0%, 39.6%)
CIE-LABlab(34.13, 48.90, -45.68)
CIE-LCHlch(34.13, 66.92, 316.95°)
OKLaboklab(45.36% 0.1145 -0.129)
OKLCHoklch(45.36% 0.172 311.6)
XYZxyz(14.1448, 8.0694, 31.3780)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E9A #539A2E
analogous
#3F2E9A #752E9A #9A2E89
triadic
#752E9A #9A752E #2E9A75
tetradic
#752E9A #9A3F2E #539A2E #2E899A
square
#752E9A #9A3F2E #539A2E #2E899A
split-complementary
#752E9A #899A2E #2E9A3F
monochromatic
#2D123C #51206B #752E9A #983FC6 #B16FD4

Accessibility & contrast

On white

8.03
#752E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752E9A
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E9A#FFFFFF#000000##FFFFFF
##752E9A1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#704560
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752e9a;
/* rgb */ color: rgb(117, 46, 154);
/* oklch */ color: oklch(45.4% 0.172 311.6);
Tailwind
colors: {
  custom: {
    50: '#a06db8',
    500: '#752e9a',
    950: '#000000',
  },
}
SCSS
$custom: #752e9a;
$custom-light: #a06db8;
$custom-dark: #000000;
JSON
{
  "hex": "#752e9a",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 279.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45364,
    "c": 0.17249,
    "h": 311.6
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#752E9A
secondary
#85BB69
accent
#DD4A7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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