#752FAC#752FAC

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

Color values

HEX#752FAC
RGBrgb(117, 47, 172)
HSLhsl(274, 57%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(32%, 72.7%, 0%, 32.5%)
CIE-LABlab(35.58, 52.56, -54.17)
CIE-LCHlch(35.58, 75.48, 314.14°)
OKLaboklab(46.81% 0.1109 -0.1539)
OKLCHoklch(46.81% 0.19 305.8)
XYZxyz(15.7974, 8.7936, 39.8868)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FAC #66AC2F
analogous
#362FAC #752FAC #AC2FA4
triadic
#752FAC #AC752F #2FAC75
tetradic
#752FAC #AC362F #66AC2F #2FA4AC
square
#752FAC #AC362F #66AC2F #2FA4AC
split-complementary
#752FAC #A4AC2F #2FAC36
monochromatic
#34154C #54227C #752FAC #944BCE #B07BDB

Accessibility & contrast

On white

7.61
#752FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#752FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FAC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FAC#FFFFFF#000000##FFFFFF
##752FAC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#6B4D6B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752fac;
/* rgb */ color: rgb(117, 47, 172);
/* oklch */ color: oklch(46.8% 0.190 305.8);
Tailwind
colors: {
  custom: {
    50: '#a26ec6',
    500: '#752fac',
    950: '#000000',
  },
}
SCSS
$custom: #752fac;
$custom-light: #a26ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#752fac",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 273.6,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46812,
    "c": 0.18974,
    "h": 305.8
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#752FAC
secondary
#97C374
accent
#E0478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #752FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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