#7530AA#7530AA

#7530AA is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.186 H 306.2°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7530AA
RGBrgb(117, 48, 170)
HSLhsl(274, 56%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(31.2%, 71.8%, 0%, 33.3%)
CIE-LABlab(35.59, 51.65, -52.96)
CIE-LCHlch(35.59, 73.97, 314.28°)
OKLaboklab(46.77% 0.1102 -0.1504)
OKLCHoklch(46.77% 0.186 306.2)
XYZxyz(15.6472, 8.7982, 38.8963)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530AA #65AA30
analogous
#3830AA #7530AA #AA30A2
triadic
#7530AA #AA7530 #30AA75
tetradic
#7530AA #AA3830 #65AA30 #30A2AA
square
#7530AA #AA3830 #65AA30 #30A2AA
split-complementary
#7530AA #A2AA30 #30AA38
monochromatic
#33154B #54237A #7530AA #944BCC #B07BDA

Accessibility & contrast

On white

7.61
#7530AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7530AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7530AA#FFFFFF#000000##FFFFFF
##7530AA1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#6C4C6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7530aa;
/* rgb */ color: rgb(117, 48, 170);
/* oklch */ color: oklch(46.8% 0.186 306.2);
Tailwind
colors: {
  custom: {
    50: '#a16ec4',
    500: '#7530aa',
    950: '#000000',
  },
}
SCSS
$custom: #7530aa;
$custom-light: #a16ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#7530aa",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 273.934,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.18646,
    "h": 306.2
  },
  "luminance": 0.08798
}

Semantic roles & 50–950 ramp

primary
#7530AA
secondary
#96C274
accent
#DF498A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7530AA

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

Preview Lab → · Contrast checker → · Palette generator →

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