#752FB6#752FB6

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

Color values

HEX#752FB6
RGBrgb(117, 47, 182)
HSLhsl(271, 59%, 45%)
HSVhsv(271, 74%, 71%)
CMYKcmyk(35.7%, 74.2%, 0%, 28.6%)
CIE-LABlab(36.35, 54.92, -58.86)
CIE-LCHlch(36.35, 80.50, 313.01°)
OKLaboklab(47.6% 0.109 -0.1677)
OKLCHoklch(47.6% 0.2 303)
XYZxyz(16.7941, 9.1923, 45.1364)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FB6 #70B62F
analogous
#312FB6 #752FB6 #B62FB4
triadic
#752FB6 #B6752F #2FB675
tetradic
#752FB6 #B6312F #70B62F #2FB4B6
square
#752FB6 #B6312F #70B62F #2FB4B6
split-complementary
#752FB6 #B4B62F #2FB631
monochromatic
#361655 #562285 #752FB6 #9350D2 #B181DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752FB6#FFFFFF#000000##FFFFFF
##752FB61.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)
#0054BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #752fb6;
/* rgb */ color: rgb(117, 47, 182);
/* oklch */ color: oklch(47.6% 0.200 303.0);
Tailwind
colors: {
  custom: {
    50: '#a26ecd',
    500: '#752fb6',
    950: '#000000',
  },
}
SCSS
$custom: #752fb6;
$custom-light: #a26ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#752fb6",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 271.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47596,
    "c": 0.20004,
    "h": 303
  },
  "luminance": 0.09192
}

Semantic roles & 50–950 ramp

primary
#752FB6
secondary
#9FC779
accent
#E24691
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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