#752CCA#752CCA

#752CCA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.0% C 0.223 H 298.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#752CCA
RGBrgb(117, 44, 202)
HSLhsl(268, 64%, 48%)
HSVhsv(268, 78%, 79%)
CMYKcmyk(42.1%, 78.2%, 0%, 20.8%)
CIE-LABlab(37.57, 60.92, -68.62)
CIE-LCHlch(37.57, 91.76, 311.60°)
OKLaboklab(48.96% 0.1065 -0.1964)
OKLCHoklch(48.96% 0.223 298.5)
XYZxyz(18.8947, 9.8472, 56.7709)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CCA #81CA2C
analogous
#2C32CA #752CCA #C42CCA
triadic
#752CCA #CA752C #2CCA75
tetradic
#752CCA #CA2C32 #81CA2C #2CCAC4
square
#752CCA #CA2C32 #81CA2C #2CCAC4
split-complementary
#752CCA #CAC42C #32CA2C
monochromatic
#3B1665 #582198 #752CCA #9558DB #B58BE6

Accessibility & contrast

On white

7.07
#752CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#752CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CCA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CCA#FFFFFF#000000##FFFFFF
##752CCA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752cca;
/* rgb */ color: rgb(117, 44, 202);
/* oklch */ color: oklch(49.0% 0.223 298.5);
Tailwind
colors: {
  custom: {
    50: '#a56edb',
    500: '#752cca',
    950: '#000000',
  },
}
SCSS
$custom: #752cca;
$custom-light: #a56edb;
$custom-dark: #000000;
JSON
{
  "hex": "#752cca",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 267.722,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.2234,
    "h": 298.5
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#752CCA
secondary
#ACD082
accent
#E7419A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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