#7532C2#7532C2

#7532C2 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.209 H 299.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7532C2
RGBrgb(117, 50, 194)
HSLhsl(268, 59%, 48%)
HSVhsv(268, 74%, 76%)
CMYKcmyk(39.7%, 74.2%, 0%, 23.9%)
CIE-LABlab(37.77, 56.50, -63.62)
CIE-LCHlch(37.77, 85.09, 311.61°)
OKLaboklab(48.89% 0.1036 -0.1817)
OKLCHoklch(48.89% 0.209 299.7)
XYZxyz(18.2119, 9.9579, 51.9911)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7532C2 #7FC232
analogous
#3237C2 #7532C2 #BD32C2
triadic
#7532C2 #C27532 #32C275
tetradic
#7532C2 #C23237 #7FC232 #32C2BD
square
#7532C2 #C23237 #7FC232 #32C2BD
split-complementary
#7532C2 #C2BD32 #37C232
monochromatic
#3A1961 #582591 #7532C2 #945CD5 #B48DE2

Accessibility & contrast

On white

7.02
#7532C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7532C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7532C2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7532C2#FFFFFF#000000##FFFFFF
##7532C21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#635778
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7532c2;
/* rgb */ color: rgb(117, 50, 194);
/* oklch */ color: oklch(48.9% 0.209 299.7);
Tailwind
colors: {
  custom: {
    50: '#a370d5',
    500: '#7532c2',
    950: '#000000',
  },
}
SCSS
$custom: #7532c2;
$custom-light: #a370d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7532c2",
  "rgb": {
    "r": 117,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 267.917,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.20921,
    "h": 299.7
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#7532C2
secondary
#AACC84
accent
#E24699
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7532C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7532C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva