#7530A2#7530A2

#7530A2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.2% C 0.178 H 308.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7530A2
RGBrgb(117, 48, 162)
HSLhsl(276, 54%, 41%)
HSVhsv(276, 70%, 64%)
CMYKcmyk(27.8%, 70.4%, 0%, 36.5%)
CIE-LABlab(35.01, 49.80, -49.09)
CIE-LCHlch(35.01, 69.93, 315.41°)
OKLaboklab(46.17% 0.1114 -0.139)
OKLCHoklch(46.17% 0.178 308.7)
XYZxyz(14.9133, 8.5047, 35.0314)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530A2 #5DA230
analogous
#3C30A2 #7530A2 #A23096
triadic
#7530A2 #A27530 #30A275
tetradic
#7530A2 #A23C30 #5DA230 #3096A2
square
#7530A2 #A23C30 #5DA230 #3096A2
split-complementary
#7530A2 #96A230 #30A23C
monochromatic
#311444 #532273 #7530A2 #9547C8 #B076D6

Accessibility & contrast

On white

7.78
#7530A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7530A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7530A2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7530A2#FFFFFF#000000##FFFFFF
##7530A21.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#1753A0
Tritanopia (blue-blind)
#6E4965
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7530a2;
/* rgb */ color: rgb(117, 48, 162);
/* oklch */ color: oklch(46.2% 0.178 308.7);
Tailwind
colors: {
  custom: {
    50: '#a16ebe',
    500: '#7530a2',
    950: '#000000',
  },
}
SCSS
$custom: #7530a2;
$custom-light: #a16ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7530a2",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 276.316,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.17814,
    "h": 308.7
  },
  "luminance": 0.08504
}

Semantic roles & 50–950 ramp

primary
#7530A2
secondary
#8FBE6F
accent
#DE4A84
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7530A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7530A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva