#752AA8#752AA8

#752AA8 is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.0% C 0.191 H 307.5°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#752AA8
RGBrgb(117, 42, 168)
HSLhsl(276, 60%, 41%)
HSVhsv(276, 75%, 66%)
CMYKcmyk(30.4%, 75%, 0%, 34.1%)
CIE-LABlab(34.53, 53.78, -53.48)
CIE-LCHlch(34.53, 75.85, 315.16°)
OKLaboklab(45.97% 0.1165 -0.1519)
OKLCHoklch(45.97% 0.191 307.5)
XYZxyz(15.2305, 8.2652, 37.8312)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AA8 #5DA82A
analogous
#362AA8 #752AA8 #A82A9C
triadic
#752AA8 #A8752A #2AA875
tetradic
#752AA8 #A8362A #5DA82A #2A9CA8
square
#752AA8 #A8362A #5DA82A #2A9CA8
split-complementary
#752AA8 #9CA82A #2AA836
monochromatic
#311246 #531E77 #752AA8 #9540CF #B071DB

Accessibility & contrast

On white

7.92
#752AA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#752AA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AA8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AA8#FFFFFF#000000##FFFFFF
##752AA81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752aa8;
/* rgb */ color: rgb(117, 42, 168);
/* oklch */ color: oklch(46.0% 0.191 307.5);
Tailwind
colors: {
  custom: {
    50: '#a26bc3',
    500: '#752aa8',
    950: '#000000',
  },
}
SCSS
$custom: #752aa8;
$custom-light: #a26bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#752aa8",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 275.714,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.19145,
    "h": 307.5
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#752AA8
secondary
#8FC36B
accent
#E34585
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #752AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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