#752DC9#752DC9

#752DC9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.221 H 298.6°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#752DC9
RGBrgb(117, 45, 201)
HSLhsl(268, 63%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(41.8%, 77.6%, 0%, 21.2%)
CIE-LABlab(37.62, 60.29, -67.95)
CIE-LCHlch(37.62, 90.84, 311.58°)
OKLaboklab(48.97% 0.106 -0.1944)
OKLCHoklch(48.97% 0.221 298.6)
XYZxyz(18.8144, 9.8754, 56.1619)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DC9 #81C92D
analogous
#2D33C9 #752DC9 #C32DC9
triadic
#752DC9 #C9752D #2DC975
tetradic
#752DC9 #C92D33 #81C92D #2DC9C3
square
#752DC9 #C92D33 #81C92D #2DC9C3
split-complementary
#752DC9 #C9C32D #33C92D
monochromatic
#3B1765 #582297 #752DC9 #9559DA #B58BE5

Accessibility & contrast

On white

7.06
#752DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#752DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752DC9
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DC9#FFFFFF#000000##FFFFFF
##752DC91.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#60587B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #752dc9;
/* rgb */ color: rgb(117, 45, 201);
/* oklch */ color: oklch(49.0% 0.221 298.6);
Tailwind
colors: {
  custom: {
    50: '#a46edb',
    500: '#752dc9',
    950: '#000000',
  },
}
SCSS
$custom: #752dc9;
$custom-light: #a46edb;
$custom-dark: #000000;
JSON
{
  "hex": "#752dc9",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 267.692,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48966,
    "c": 0.22146,
    "h": 298.6
  },
  "luminance": 0.09876
}

Semantic roles & 50–950 ramp

primary
#752DC9
secondary
#ACCF83
accent
#E6419A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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