#752AC9#752AC9

#752AC9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.224 H 298.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#752AC9
RGBrgb(117, 42, 201)
HSLhsl(268, 65%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(41.8%, 79.1%, 0%, 21.2%)
CIE-LABlab(37.22, 61.45, -68.61)
CIE-LCHlch(37.22, 92.11, 311.85°)
OKLaboklab(48.69% 0.1083 -0.1963)
OKLCHoklch(48.69% 0.224 298.9)
XYZxyz(18.7040, 9.6546, 56.1251)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752AC9 #7EC92A
analogous
#2A2EC9 #752AC9 #C42AC9
triadic
#752AC9 #C9752A #2AC975
tetradic
#752AC9 #C92A2E #7EC92A #2AC9C4
square
#752AC9 #C92A2E #7EC92A #2AC9C4
split-complementary
#752AC9 #C9C42A #2EC92A
monochromatic
#3A1564 #581F96 #752AC9 #9455DB #B487E6

Accessibility & contrast

On white

7.16
#752AC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#752AC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752AC9
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752AC9#FFFFFF#000000##FFFFFF
##752AC91.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#60567A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #752ac9;
/* rgb */ color: rgb(117, 42, 201);
/* oklch */ color: oklch(48.7% 0.224 298.9);
Tailwind
colors: {
  custom: {
    50: '#a56ddb',
    500: '#752ac9',
    950: '#000000',
  },
}
SCSS
$custom: #752ac9;
$custom-light: #a56ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#752ac9",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 268.302,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48685,
    "c": 0.22424,
    "h": 298.9
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#752AC9
secondary
#AAD07F
accent
#E83F99
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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