#752DCA#752DCA

#752DCA is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.222 H 298.4°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#752DCA
RGBrgb(117, 45, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(42.1%, 77.7%, 0%, 20.8%)
CIE-LABlab(37.70, 60.53, -68.39)
CIE-LCHlch(37.70, 91.33, 311.51°)
OKLaboklab(49.05% 0.1058 -0.1957)
OKLCHoklch(49.05% 0.222 298.4)
XYZxyz(18.9324, 9.9226, 56.7835)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DCA #82CA2D
analogous
#2D33CA #752DCA #C32DCA
triadic
#752DCA #CA752D #2DCA75
tetradic
#752DCA #CA2D33 #82CA2D #2DCAC3
square
#752DCA #CA2D33 #82CA2D #2DCAC3
split-complementary
#752DCA #CAC32D #33CA2D
monochromatic
#3B1766 #582298 #752DCA #955ADA #B58CE5

Accessibility & contrast

On white

7.04
#752DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752DCA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752DCA#FFFFFF#000000##FFFFFF
##752DCA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752dca;
/* rgb */ color: rgb(117, 45, 202);
/* oklch */ color: oklch(49.1% 0.222 298.4);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#752dca',
    950: '#000000',
  },
}
SCSS
$custom: #752dca;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#752dca",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 267.516,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49052,
    "c": 0.22247,
    "h": 298.4
  },
  "luminance": 0.09923
}

Semantic roles & 50–950 ramp

primary
#752DCA
secondary
#ADCF83
accent
#E7419B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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