#752ED7#752ED7

#752ED7 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.3% C 0.235 H 295.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#752ED7
RGBrgb(117, 46, 215)
HSLhsl(265, 68%, 51%)
HSVhsv(265, 79%, 84%)
CMYKcmyk(45.6%, 78.6%, 0%, 15.7%)
CIE-LABlab(38.97, 63.28, -73.84)
CIE-LCHlch(38.97, 97.24, 310.60°)
OKLaboklab(50.28% 0.1012 -0.2117)
OKLCHoklch(50.28% 0.235 295.6)
XYZxyz(20.5755, 10.6417, 65.2468)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752ED7 #90D72E
analogous
#2E3BD7 #752ED7 #C92ED7
triadic
#752ED7 #D7752E #2ED775
tetradic
#752ED7 #D72E3B #90D72E #2ED7C9
square
#752ED7 #D72E3B #90D72E #2ED7C9
split-complementary
#752ED7 #D7C92E #3BD72E
monochromatic
#3E1674 #5920A8 #752ED7 #9761E1 #B995EB

Accessibility & contrast

On white

6.71
#752ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#752ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #752ED7
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752ED7#FFFFFF#000000##FFFFFF
##752ED71.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDC
Deuteranopia (green-blind)
#0059D4
Tritanopia (blue-blind)
#595E83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #752ed7;
/* rgb */ color: rgb(117, 46, 215);
/* oklch */ color: oklch(50.3% 0.235 295.6);
Tailwind
colors: {
  custom: {
    50: '#a670e5',
    500: '#752ed7',
    950: '#000000',
  },
}
SCSS
$custom: #752ed7;
$custom-light: #a670e5;
$custom-dark: #000000;
JSON
{
  "hex": "#752ed7",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 265.207,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5028,
    "c": 0.23467,
    "h": 295.6
  },
  "luminance": 0.10642
}

Semantic roles & 50–950 ramp

primary
#752ED7
secondary
#B6D68B
accent
#EB3DA2
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #752ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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