#752CA0#752CA0

#752CA0 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.181 H 309.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#752CA0
RGBrgb(117, 44, 160)
HSLhsl(278, 57%, 40%)
HSVhsv(278, 73%, 63%)
CMYKcmyk(26.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(34.23, 51.13, -49.14)
CIE-LCHlch(34.23, 70.92, 316.14°)
OKLaboklab(45.58% 0.1159 -0.1392)
OKLCHoklch(45.58% 0.181 309.8)
XYZxyz(14.5807, 8.1216, 34.0504)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CA0 #57A02C
analogous
#3B2CA0 #752CA0 #A02C91
triadic
#752CA0 #A0752C #2CA075
tetradic
#752CA0 #A03B2C #57A02C #2C91A0
square
#752CA0 #A03B2C #57A02C #2C91A0
split-complementary
#752CA0 #91A02C #2CA03B
monochromatic
#2F1240 #521F70 #752CA0 #973FCA #B16FD7

Accessibility & contrast

On white

8.00
#752CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CA0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CA0#FFFFFF#000000##FFFFFF
##752CA01.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752ca0;
/* rgb */ color: rgb(117, 44, 160);
/* oklch */ color: oklch(45.6% 0.181 309.8);
Tailwind
colors: {
  custom: {
    50: '#a16cbd',
    500: '#752ca0',
    950: '#000000',
  },
}
SCSS
$custom: #752ca0;
$custom-light: #a16cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#752ca0",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 277.759,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.45575,
    "c": 0.1811,
    "h": 309.8
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#752CA0
secondary
#89BF69
accent
#E04880
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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