#752BA3#752BA3

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

Color values

HEX#752BA3
RGBrgb(117, 43, 163)
HSLhsl(277, 58%, 40%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(28.2%, 73.6%, 0%, 36.1%)
CIE-LABlab(34.30, 52.23, -50.84)
CIE-LCHlch(34.30, 72.89, 315.77°)
OKLaboklab(45.69% 0.1164 -0.1441)
OKLCHoklch(45.69% 0.185 308.9)
XYZxyz(14.8095, 8.1543, 35.4370)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA3 #59A32B
analogous
#392BA3 #752BA3 #A32B95
triadic
#752BA3 #A3752B #2BA375
tetradic
#752BA3 #A3392B #59A32B #2B95A3
square
#752BA3 #A3392B #59A32B #2B95A3
split-complementary
#752BA3 #95A32B #2BA339
monochromatic
#2F1142 #521E73 #752BA3 #963FCC #B16FD9

Accessibility & contrast

On white

7.98
#752BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752BA3
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA3#FFFFFF#000000##FFFFFF
##752BA31.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0952A0
Tritanopia (blue-blind)
#6E4765
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #752ba3;
/* rgb */ color: rgb(117, 43, 163);
/* oklch */ color: oklch(45.7% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#a16cbf',
    500: '#752ba3',
    950: '#000000',
  },
}
SCSS
$custom: #752ba3;
$custom-light: #a16cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba3",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 277,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.1853,
    "h": 308.9
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#752BA3
secondary
#8BC06A
accent
#E14682
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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