#752BAC#752BAC

#752BAC is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.194 H 306.2°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#752BAC
RGBrgb(117, 43, 172)
HSLhsl(274, 60%, 42%)
HSVhsv(274, 75%, 67%)
CMYKcmyk(32%, 75%, 0%, 32.5%)
CIE-LABlab(34.98, 54.28, -55.15)
CIE-LCHlch(34.98, 77.38, 314.54°)
OKLaboklab(46.38% 0.1148 -0.1568)
OKLCHoklch(46.38% 0.194 306.2)
XYZxyz(15.6448, 8.4884, 39.8360)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BAC #62AC2B
analogous
#352BAC #752BAC #AC2BA2
triadic
#752BAC #AC752B #2BAC75
tetradic
#752BAC #AC352B #62AC2B #2BA2AC
square
#752BAC #AC352B #62AC2B #2BA2AC
split-complementary
#752BAC #A2AC2B #2BAC35
monochromatic
#32134A #541F7B #752BAC #9444D0 #B075DC

Accessibility & contrast

On white

7.78
#752BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#752BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BAC
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BAC#FFFFFF#000000##FFFFFF
##752BAC1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0053A9
Tritanopia (blue-blind)
#6B4B6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #752bac;
/* rgb */ color: rgb(117, 43, 172);
/* oklch */ color: oklch(46.4% 0.194 306.2);
Tailwind
colors: {
  custom: {
    50: '#a26cc6',
    500: '#752bac',
    950: '#000000',
  },
}
SCSS
$custom: #752bac;
$custom-light: #a26cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#752bac",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 274.419,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46384,
    "c": 0.19432,
    "h": 306.2
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#752BAC
secondary
#93C46F
accent
#E34588
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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