#752EB4#752EB4

#752EB4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.3% C 0.199 H 303.7°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#752EB4
RGBrgb(117, 46, 180)
HSLhsl(272, 59%, 44%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(35%, 74.4%, 0%, 29.4%)
CIE-LABlab(36.04, 54.87, -58.18)
CIE-LCHlch(36.04, 79.97, 313.32°)
OKLaboklab(47.33% 0.1103 -0.1657)
OKLCHoklch(47.33% 0.199 303.7)
XYZxyz(16.5494, 9.0312, 44.0425)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB4 #6DB42E
analogous
#322EB4 #752EB4 #B42EB0
triadic
#752EB4 #B4752E #2EB475
tetradic
#752EB4 #B4322E #6DB42E #2EB0B4
square
#752EB4 #B4322E #6DB42E #2EB0B4
split-complementary
#752EB4 #B0B42E #2EB432
monochromatic
#361553 #552283 #752EB4 #944ED2 #B17EDE

Accessibility & contrast

On white

7.48
#752EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#752EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EB4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB4#FFFFFF#000000##FFFFFF
##752EB41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#684F6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752eb4;
/* rgb */ color: rgb(117, 46, 180);
/* oklch */ color: oklch(47.3% 0.199 303.7);
Tailwind
colors: {
  custom: {
    50: '#a26ecb',
    500: '#752eb4',
    950: '#000000',
  },
}
SCSS
$custom: #752eb4;
$custom-light: #a26ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb4",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 271.791,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4733,
    "c": 0.1991,
    "h": 303.7
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#752EB4
secondary
#9DC777
accent
#E2458F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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