#752BC2#752BC2

#752BC2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.216 H 300.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#752BC2
RGBrgb(117, 43, 194)
HSLhsl(269, 64%, 46%)
HSVhsv(269, 78%, 76%)
CMYKcmyk(39.7%, 77.8%, 0%, 23.9%)
CIE-LABlab(36.75, 59.41, -65.28)
CIE-LCHlch(36.75, 88.26, 312.31°)
OKLaboklab(48.18% 0.1095 -0.1866)
OKLCHoklch(48.18% 0.216 300.4)
XYZxyz(17.9352, 9.4045, 51.8988)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BC2 #78C22B
analogous
#2B2DC2 #752BC2 #C12BC2
triadic
#752BC2 #C2752B #2BC275
tetradic
#752BC2 #C22B2D #78C22B #2BC2C1
square
#752BC2 #C22B2D #78C22B #2BC2C1
split-complementary
#752BC2 #C2C12B #2DC22B
monochromatic
#39155E #572090 #752BC2 #9452D9 #B384E4

Accessibility & contrast

On white

7.29
#752BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#752BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BC2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BC2#FFFFFF#000000##FFFFFF
##752BC21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#0055BF
Tritanopia (blue-blind)
#635476
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752bc2;
/* rgb */ color: rgb(117, 43, 194);
/* oklch */ color: oklch(48.2% 0.216 300.4);
Tailwind
colors: {
  custom: {
    50: '#a46dd6',
    500: '#752bc2',
    950: '#000000',
  },
}
SCSS
$custom: #752bc2;
$custom-light: #a46dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#752bc2",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 269.404,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48179,
    "c": 0.21635,
    "h": 300.4
  },
  "luminance": 0.09405
}

Semantic roles & 50–950 ramp

primary
#752BC2
secondary
#A5CD7C
accent
#E74196
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #752BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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