#752ECA#752ECA

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

Color values

HEX#752ECA
RGBrgb(117, 46, 202)
HSLhsl(267, 63%, 49%)
HSVhsv(267, 77%, 79%)
CMYKcmyk(42.1%, 77.2%, 0%, 20.8%)
CIE-LABlab(37.84, 60.13, -68.17)
CIE-LCHlch(37.84, 90.89, 311.41°)
OKLaboklab(49.15% 0.105 -0.1951)
OKLCHoklch(49.15% 0.222 298.3)
XYZxyz(18.9710, 9.9999, 56.7963)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752ECA #83CA2E
analogous
#2E35CA #752ECA #C32ECA
triadic
#752ECA #CA752E #2ECA75
tetradic
#752ECA #CA2E35 #83CA2E #2ECAC3
square
#752ECA #CA2E35 #83CA2E #2ECAC3
split-complementary
#752ECA #CAC32E #35CA2E
monochromatic
#3B1766 #582398 #752ECA #955BDA #B58DE5

Accessibility & contrast

On white

7.00
#752ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#752ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #752ECA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752ECA#FFFFFF#000000##FFFFFF
##752ECA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752eca;
/* rgb */ color: rgb(117, 46, 202);
/* oklch */ color: oklch(49.1% 0.222 298.3);
Tailwind
colors: {
  custom: {
    50: '#a46fdb',
    500: '#752eca',
    950: '#000000',
  },
}
SCSS
$custom: #752eca;
$custom-light: #a46fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#752eca",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 202
  },
  "hsl": {
    "h": 267.308,
    "s": 62.903,
    "l": 48.627
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.22152,
    "h": 298.3
  },
  "luminance": 0.1
}

Semantic roles & 50–950 ramp

primary
#752ECA
secondary
#ADCF84
accent
#E6429B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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