#752BC7#752BC7

#752BC7 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.221 H 299.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#752BC7
RGBrgb(117, 43, 199)
HSLhsl(268, 64%, 47%)
HSVhsv(268, 78%, 78%)
CMYKcmyk(41.2%, 78.4%, 0%, 22%)
CIE-LABlab(37.18, 60.59, -67.51)
CIE-LCHlch(37.18, 90.71, 311.91°)
OKLaboklab(48.61% 0.1081 -0.1931)
OKLCHoklch(48.61% 0.221 299.2)
XYZxyz(18.5062, 9.6329, 54.9061)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BC7 #7DC72B
analogous
#2B2FC7 #752BC7 #C32BC7
triadic
#752BC7 #C7752B #2BC775
tetradic
#752BC7 #C72B2F #7DC72B #2BC7C3
square
#752BC7 #C72B2F #7DC72B #2BC7C3
split-complementary
#752BC7 #C7C32B #2FC72B
monochromatic
#3A1562 #572095 #752BC7 #9455DA #B487E5

Accessibility & contrast

On white

7.18
#752BC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752BC7
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BC7#FFFFFF#000000##FFFFFF
##752BC71.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0056C4
Tritanopia (blue-blind)
#615679
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #752bc7;
/* rgb */ color: rgb(117, 43, 199);
/* oklch */ color: oklch(48.6% 0.221 299.2);
Tailwind
colors: {
  custom: {
    50: '#a46dd9',
    500: '#752bc7',
    950: '#000000',
  },
}
SCSS
$custom: #752bc7;
$custom-light: #a46dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#752bc7",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 199
  },
  "hsl": {
    "h": 268.462,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.48605,
    "c": 0.22134,
    "h": 299.2
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#752BC7
secondary
#A9CF7F
accent
#E74098
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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