#752BA8#752BA8

#752BA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.190 H 307.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#752BA8
RGBrgb(117, 43, 168)
HSLhsl(276, 59%, 41%)
HSVhsv(276, 74%, 66%)
CMYKcmyk(30.4%, 74.4%, 0%, 34.1%)
CIE-LABlab(34.68, 53.36, -53.25)
CIE-LCHlch(34.68, 75.39, 315.06°)
OKLaboklab(46.07% 0.1156 -0.1512)
OKLCHoklch(46.07% 0.19 307.4)
XYZxyz(15.2664, 8.3370, 37.8432)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BA8 #5EA82B
analogous
#372BA8 #752BA8 #A82B9D
triadic
#752BA8 #A8752B #2BA875
tetradic
#752BA8 #A8372B #5EA82B #2B9DA8
square
#752BA8 #A8372B #5EA82B #2B9DA8
split-complementary
#752BA8 #9DA82B #2BA837
monochromatic
#311247 #531F77 #752BA8 #9542CF #B072DB

Accessibility & contrast

On white

7.87
#752BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#752BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BA8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BA8#FFFFFF#000000##FFFFFF
##752BA81.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0052A5
Tritanopia (blue-blind)
#6D4967
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752ba8;
/* rgb */ color: rgb(117, 43, 168);
/* oklch */ color: oklch(46.1% 0.190 307.4);
Tailwind
colors: {
  custom: {
    50: '#a26cc3',
    500: '#752ba8',
    950: '#000000',
  },
}
SCSS
$custom: #752ba8;
$custom-light: #a26cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752ba8",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 275.52,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.46074,
    "c": 0.19032,
    "h": 307.4
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#752BA8
secondary
#8FC26C
accent
#E24585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #752BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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