#752FB4#752FB4

#752FB4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 303.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#752FB4
RGBrgb(117, 47, 180)
HSLhsl(272, 59%, 45%)
HSVhsv(272, 74%, 71%)
CMYKcmyk(35%, 73.9%, 0%, 29.4%)
CIE-LABlab(36.20, 54.44, -57.93)
CIE-LCHlch(36.20, 79.50, 313.22°)
OKLaboklab(47.44% 0.1094 -0.165)
OKLCHoklch(47.44% 0.198 303.5)
XYZxyz(16.5889, 9.1102, 44.0557)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FB4 #6EB42F
analogous
#332FB4 #752FB4 #B42FB1
triadic
#752FB4 #B4752F #2FB475
tetradic
#752FB4 #B4332F #6EB42F #2FB1B4
square
#752FB4 #B4332F #6EB42F #2FB1B4
split-complementary
#752FB4 #B1B42F #2FB433
monochromatic
#361653 #552283 #752FB4 #944FD1 #B180DE

Accessibility & contrast

On white

7.44
#752FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#752FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FB4
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FB4#FFFFFF#000000##FFFFFF
##752FB41.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752fb4;
/* rgb */ color: rgb(117, 47, 180);
/* oklch */ color: oklch(47.4% 0.198 303.5);
Tailwind
colors: {
  custom: {
    50: '#a26ecb',
    500: '#752fb4',
    950: '#000000',
  },
}
SCSS
$custom: #752fb4;
$custom-light: #a26ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#752fb4",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 271.579,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47436,
    "c": 0.19798,
    "h": 303.5
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #752FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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