#752DB7#752DB7

#752DB7 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.203 H 303.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#752DB7
RGBrgb(117, 45, 183)
HSLhsl(271, 61%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(36.1%, 75.4%, 0%, 28.2%)
CIE-LABlab(36.13, 56.00, -59.81)
CIE-LCHlch(36.13, 81.94, 313.12°)
OKLaboklab(47.47% 0.1106 -0.1705)
OKLCHoklch(47.47% 0.203 303)
XYZxyz(16.8197, 9.0776, 45.6566)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DB7 #6FB72D
analogous
#302DB7 #752DB7 #B72DB4
triadic
#752DB7 #B7752D #2DB775
tetradic
#752DB7 #B7302D #6FB72D #2DB4B7
square
#752DB7 #B7302D #6FB72D #2DB4B7
split-complementary
#752DB7 #B4B72D #2DB730
monochromatic
#361555 #562186 #752DB7 #944ED3 #B17FDF

Accessibility & contrast

On white

7.46
#752DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#752DB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DB7
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DB7#FFFFFF#000000##FFFFFF
##752DB71.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#675070
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752db7;
/* rgb */ color: rgb(117, 45, 183);
/* oklch */ color: oklch(47.5% 0.203 303.0);
Tailwind
colors: {
  custom: {
    50: '#a36dce',
    500: '#752db7',
    950: '#000000',
  },
}
SCSS
$custom: #752db7;
$custom-light: #a36dce;
$custom-dark: #000000;
JSON
{
  "hex": "#752db7",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 271.304,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.20325,
    "h": 303
  },
  "luminance": 0.09078
}

Semantic roles & 50–950 ramp

primary
#752DB7
secondary
#9EC878
accent
#E44490
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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