#752EB8#752EB8

#752EB8 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.203 H 302.6°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#752EB8
RGBrgb(117, 46, 184)
HSLhsl(271, 60%, 45%)
HSVhsv(271, 75%, 72%)
CMYKcmyk(36.4%, 75%, 0%, 27.8%)
CIE-LABlab(36.36, 55.82, -60.03)
CIE-LCHlch(36.36, 81.97, 312.92°)
OKLaboklab(47.65% 0.1095 -0.1712)
OKLCHoklch(47.65% 0.203 302.6)
XYZxyz(16.9628, 9.1966, 46.2196)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB8 #71B82E
analogous
#302EB8 #752EB8 #B82EB6
triadic
#752EB8 #B8752E #2EB875
tetradic
#752EB8 #B8302E #71B82E #2EB6B8
square
#752EB8 #B8302E #71B82E #2EB6B8
split-complementary
#752EB8 #B6B82E #2EB830
monochromatic
#371656 #562287 #752EB8 #9450D3 #B281DF

Accessibility & contrast

On white

7.40
#752EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#752EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB8
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB8#FFFFFF#000000##FFFFFF
##752EB81.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#675171
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752eb8;
/* rgb */ color: rgb(117, 46, 184);
/* oklch */ color: oklch(47.7% 0.203 302.6);
Tailwind
colors: {
  custom: {
    50: '#a36ece',
    500: '#752eb8',
    950: '#000000',
  },
}
SCSS
$custom: #752eb8;
$custom-light: #a36ece;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb8",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 184
  },
  "hsl": {
    "h": 270.87,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.20318,
    "h": 302.6
  },
  "luminance": 0.09197
}

Semantic roles & 50–950 ramp

primary
#752EB8
secondary
#A0C879
accent
#E34592
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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