#752EB5#752EB5

#752EB5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.200 H 303.4°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#752EB5
RGBrgb(117, 46, 181)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 75%, 71%)
CMYKcmyk(35.4%, 74.6%, 0%, 29%)
CIE-LABlab(36.12, 55.11, -58.64)
CIE-LCHlch(36.12, 80.47, 313.22°)
OKLaboklab(47.41% 0.1101 -0.1671)
OKLCHoklch(47.41% 0.2 303.4)
XYZxyz(16.6517, 9.0721, 44.5809)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB5 #6EB52E
analogous
#322EB5 #752EB5 #B52EB1
triadic
#752EB5 #B5752E #2EB575
tetradic
#752EB5 #B5322E #6EB52E #2EB1B5
square
#752EB5 #B5322E #6EB52E #2EB1B5
split-complementary
#752EB5 #B1B52E #2EB532
monochromatic
#361553 #552284 #752EB5 #944ED2 #B17FDE

Accessibility & contrast

On white

7.46
#752EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752EB5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EB5#FFFFFF#000000##FFFFFF
##752EB51.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#68506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752eb5;
/* rgb */ color: rgb(117, 46, 181);
/* oklch */ color: oklch(47.4% 0.200 303.4);
Tailwind
colors: {
  custom: {
    50: '#a26ecc',
    500: '#752eb5',
    950: '#000000',
  },
}
SCSS
$custom: #752eb5;
$custom-light: #a26ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb5",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 271.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.20012,
    "h": 303.4
  },
  "luminance": 0.09072
}

Semantic roles & 50–950 ramp

primary
#752EB5
secondary
#9DC778
accent
#E34590
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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