#7530AB#7530AB

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

Color values

HEX#7530AB
RGBrgb(117, 48, 171)
HSLhsl(274, 56%, 43%)
HSVhsv(274, 72%, 67%)
CMYKcmyk(31.6%, 71.9%, 0%, 32.9%)
CIE-LABlab(35.67, 51.88, -53.43)
CIE-LCHlch(35.67, 74.48, 314.16°)
OKLaboklab(46.85% 0.1101 -0.1518)
OKLCHoklch(46.85% 0.188 305.9)
XYZxyz(15.7421, 8.8362, 39.3964)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530AB #66AB30
analogous
#3830AB #7530AB #AB30A3
triadic
#7530AB #AB7530 #30AB75
tetradic
#7530AB #AB3830 #66AB30 #30A3AB
square
#7530AB #AB3830 #66AB30 #30A3AB
split-complementary
#7530AB #A3AB30 #30AB38
monochromatic
#34154B #54237B #7530AB #944CCD #B07BDA

Accessibility & contrast

On white

7.59
#7530AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#7530AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7530AB#FFFFFF#000000##FFFFFF
##7530AB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#6B4D6A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7530ab;
/* rgb */ color: rgb(117, 48, 171);
/* oklch */ color: oklch(46.8% 0.188 305.9);
Tailwind
colors: {
  custom: {
    50: '#a16ec5',
    500: '#7530ab',
    950: '#000000',
  },
}
SCSS
$custom: #7530ab;
$custom-light: #a16ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#7530ab",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 273.659,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.1875,
    "h": 305.9
  },
  "luminance": 0.08836
}

Semantic roles & 50–950 ramp

primary
#7530AB
secondary
#97C374
accent
#DF488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7530AB

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

Preview Lab → · Contrast checker → · Palette generator →

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