#752BA0#752BA0

#752BA0 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 309.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#752BA0
RGBrgb(117, 43, 160)
HSLhsl(278, 58%, 40%)
HSVhsv(278, 73%, 63%)
CMYKcmyk(26.9%, 73.1%, 0%, 37.3%)
CIE-LABlab(34.08, 51.56, -49.39)
CIE-LCHlch(34.08, 71.40, 316.23°)
OKLaboklab(45.47% 0.1169 -0.1399)
OKLCHoklch(45.47% 0.182 309.9)
XYZxyz(14.5439, 8.0480, 34.0382)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA0 #56A02B
analogous
#3B2BA0 #752BA0 #A02B90
triadic
#752BA0 #A0752B #2BA075
tetradic
#752BA0 #A03B2B #56A02B #2B90A0
square
#752BA0 #A03B2B #56A02B #2B90A0
split-complementary
#752BA0 #90A02B #2BA03B
monochromatic
#2E1140 #521E70 #752BA0 #973DCB #B16ED8

Accessibility & contrast

On white

8.05
#752BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752BA0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA0#FFFFFF#000000##FFFFFF
##752BA01.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#12519D
Tritanopia (blue-blind)
#6F4663
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752ba0;
/* rgb */ color: rgb(117, 43, 160);
/* oklch */ color: oklch(45.5% 0.182 309.9);
Tailwind
colors: {
  custom: {
    50: '#a16bbd',
    500: '#752ba0',
    950: '#000000',
  },
}
SCSS
$custom: #752ba0;
$custom-light: #a16bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba0",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 277.949,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45467,
    "c": 0.18231,
    "h": 309.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#752BA0
secondary
#88BF68
accent
#E14780
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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