#752ACA#752ACA

#752ACA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.8% C 0.225 H 298.7°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#752ACA
RGBrgb(117, 42, 202)
HSLhsl(268, 66%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(42.1%, 79.2%, 0%, 20.8%)
CIE-LABlab(37.30, 61.69, -69.05)
CIE-LCHlch(37.30, 92.59, 311.78°)
OKLaboklab(48.77% 0.108 -0.1976)
OKLCHoklch(48.77% 0.225 298.7)
XYZxyz(18.8220, 9.7018, 56.7466)
Luminance0.0970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752ACA #7FCA2A
analogous
#2A2FCA #752ACA #C52ACA
triadic
#752ACA #CA752A #2ACA75
tetradic
#752ACA #CA2A2F #7FCA2A #2ACAC5
square
#752ACA #CA2A2F #7FCA2A #2ACAC5
split-complementary
#752ACA #CAC52A #2FCA2A
monochromatic
#3A1565 #581F97 #752ACA #9455DC #B488E6

Accessibility & contrast

On white

7.14
#752ACA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#752ACA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752ACA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752ACA#FFFFFF#000000##FFFFFF
##752ACA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#60577A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #752aca;
/* rgb */ color: rgb(117, 42, 202);
/* oklch */ color: oklch(48.8% 0.225 298.7);
Tailwind
colors: {
  custom: {
    50: '#a56ddb',
    500: '#752aca',
    950: '#000000',
  },
}
SCSS
$custom: #752aca;
$custom-light: #a56ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#752aca",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 202
  },
  "hsl": {
    "h": 268.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48772,
    "c": 0.22522,
    "h": 298.7
  },
  "luminance": 0.09702
}

Semantic roles & 50–950 ramp

primary
#752ACA
secondary
#AAD080
accent
#E93F99
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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