#752EBC#752EBC

#752EBC is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.207 H 301.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#752EBC
RGBrgb(117, 46, 188)
HSLhsl(270, 61%, 46%)
HSVhsv(270, 76%, 74%)
CMYKcmyk(37.8%, 75.5%, 0%, 26.3%)
CIE-LABlab(36.68, 56.77, -61.87)
CIE-LCHlch(36.68, 83.97, 312.54°)
OKLaboklab(47.98% 0.1085 -0.1766)
OKLCHoklch(47.98% 0.207 301.6)
XYZxyz(17.3880, 9.3666, 48.4591)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EBC #75BC2E
analogous
#2E2EBC #752EBC #BC2EBC
triadic
#752EBC #BC752E #2EBC75
tetradic
#752EBC #BC2E2E #75BC2E #2EBCBC
square
#752EBC #BC2E2E #75BC2E #2EBCBC
split-complementary
#752EBC #BCBC2E #2EBC2E
monochromatic
#38165A #56228B #752EBC #9452D5 #B284E1

Accessibility & contrast

On white

7.31
#752EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#752EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EBC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EBC#FFFFFF#000000##FFFFFF
##752EBC1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#655373
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752ebc;
/* rgb */ color: rgb(117, 46, 188);
/* oklch */ color: oklch(48.0% 0.207 301.6);
Tailwind
colors: {
  custom: {
    50: '#a36ed1',
    500: '#752ebc',
    950: '#000000',
  },
}
SCSS
$custom: #752ebc;
$custom-light: #a36ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#752ebc",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47976,
    "c": 0.20727,
    "h": 301.6
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#752EBC
secondary
#A3CA7C
accent
#E44494
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #752EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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