#752CB1#752CB1

#752CB1 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.198 H 304.7°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#752CB1
RGBrgb(117, 44, 177)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 69%)
CMYKcmyk(33.9%, 75.1%, 0%, 30.6%)
CIE-LABlab(35.51, 55.02, -57.26)
CIE-LCHlch(35.51, 79.41, 313.85°)
OKLaboklab(46.88% 0.1128 -0.163)
OKLCHoklch(46.88% 0.198 304.7)
XYZxyz(16.1708, 8.7577, 42.4249)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CB1 #68B12C
analogous
#322CB1 #752CB1 #B12CAA
triadic
#752CB1 #B1752C #2CB175
tetradic
#752CB1 #B1322C #68B12C #2CAAB1
square
#752CB1 #B1322C #68B12C #2CAAB1
split-complementary
#752CB1 #AAB12C #2CB132
monochromatic
#34144F #552080 #752CB1 #9449D2 #B17ADE

Accessibility & contrast

On white

7.63
#752CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#752CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CB1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CB1#FFFFFF#000000##FFFFFF
##752CB11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#6A4D6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752cb1;
/* rgb */ color: rgb(117, 44, 177);
/* oklch */ color: oklch(46.9% 0.198 304.7);
Tailwind
colors: {
  custom: {
    50: '#a26dc9',
    500: '#752cb1',
    950: '#000000',
  },
}
SCSS
$custom: #752cb1;
$custom-light: #a26dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#752cb1",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 177
  },
  "hsl": {
    "h": 272.932,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46882,
    "c": 0.19825,
    "h": 304.7
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#752CB1
secondary
#98C673
accent
#E3448C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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