#752CAF#752CAF

#752CAF is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.196 H 305.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#752CAF
RGBrgb(117, 44, 175)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 69%)
CMYKcmyk(33.1%, 74.9%, 0%, 31.4%)
CIE-LABlab(35.36, 54.55, -56.32)
CIE-LCHlch(35.36, 78.41, 314.08°)
OKLaboklab(46.72% 0.1132 -0.1603)
OKLCHoklch(46.72% 0.196 305.2)
XYZxyz(15.9729, 8.6785, 41.3828)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752CAF #66AF2C
analogous
#332CAF #752CAF #AF2CA7
triadic
#752CAF #AF752C #2CAF75
tetradic
#752CAF #AF332C #66AF2C #2CA7AF
square
#752CAF #AF332C #66AF2C #2CA7AF
split-complementary
#752CAF #A7AF2C #2CAF33
monochromatic
#34134D #54207E #752CAF #9447D1 #B078DD

Accessibility & contrast

On white

7.68
#752CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#752CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752CAF
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752CAF#FFFFFF#000000##FFFFFF
##752CAF1.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#6A4C6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752caf;
/* rgb */ color: rgb(117, 44, 175);
/* oklch */ color: oklch(46.7% 0.196 305.2);
Tailwind
colors: {
  custom: {
    50: '#a26dc8',
    500: '#752caf',
    950: '#000000',
  },
}
SCSS
$custom: #752caf;
$custom-light: #a26dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#752caf",
  "rgb": {
    "r": 117,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 273.435,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46724,
    "c": 0.19623,
    "h": 305.2
  },
  "luminance": 0.08678
}

Semantic roles & 50–950 ramp

primary
#752CAF
secondary
#97C572
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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