#752DAF#752DAF

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

Color values

HEX#752DAF
RGBrgb(117, 45, 175)
HSLhsl(273, 59%, 43%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33.1%, 74.3%, 0%, 31.4%)
CIE-LABlab(35.51, 54.13, -56.08)
CIE-LCHlch(35.51, 77.94, 313.98°)
OKLaboklab(46.83% 0.1123 -0.1596)
OKLCHoklch(46.83% 0.195 305.1)
XYZxyz(16.0106, 8.7539, 41.3953)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752DAF #67AF2D
analogous
#342DAF #752DAF #AF2DA8
triadic
#752DAF #AF752D #2DAF75
tetradic
#752DAF #AF342D #67AF2D #2DA8AF
square
#752DAF #AF342D #67AF2D #2DA8AF
split-complementary
#752DAF #A8AF2D #2DAF34
monochromatic
#34144E #54207E #752DAF #9449D0 #B17ADD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752DAF#FFFFFF#000000##FFFFFF
##752DAF1.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)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6A4D6C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #752daf;
/* rgb */ color: rgb(117, 45, 175);
/* oklch */ color: oklch(46.8% 0.195 305.1);
Tailwind
colors: {
  custom: {
    50: '#a26dc8',
    500: '#752daf',
    950: '#000000',
  },
}
SCSS
$custom: #752daf;
$custom-light: #a26dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#752daf",
  "rgb": {
    "r": 117,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 273.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46828,
    "c": 0.19512,
    "h": 305.1
  },
  "luminance": 0.08754
}

Semantic roles & 50–950 ramp

primary
#752DAF
secondary
#97C573
accent
#E2468B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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