#7530BA#7530BA

#7530BA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.203 H 301.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7530BA
RGBrgb(117, 48, 186)
HSLhsl(270, 59%, 46%)
HSVhsv(270, 74%, 73%)
CMYKcmyk(37.1%, 74.2%, 0%, 27.1%)
CIE-LABlab(36.82, 55.44, -60.46)
CIE-LCHlch(36.82, 82.03, 312.52°)
OKLaboklab(48.02% 0.1072 -0.1725)
OKLCHoklch(48.02% 0.203 301.9)
XYZxyz(17.2539, 9.4409, 47.3581)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530BA #75BA30
analogous
#3030BA #7530BA #BA30BA
triadic
#7530BA #BA7530 #30BA75
tetradic
#7530BA #BA3030 #75BA30 #30BABA
square
#7530BA #BA3030 #75BA30 #30BABA
split-complementary
#7530BA #BABA30 #30BA30
monochromatic
#381759 #562389 #7530BA #9454D3 #B285DF

Accessibility & contrast

On white

7.27
#7530BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7530BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7530BA#FFFFFF#000000##FFFFFF
##7530BA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#665373
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7530ba;
/* rgb */ color: rgb(117, 48, 186);
/* oklch */ color: oklch(48.0% 0.203 301.9);
Tailwind
colors: {
  custom: {
    50: '#a36fd0',
    500: '#7530ba',
    950: '#000000',
  },
}
SCSS
$custom: #7530ba;
$custom-light: #a36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7530ba",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 270,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.20307,
    "h": 301.9
  },
  "luminance": 0.09441
}

Semantic roles & 50–950 ramp

primary
#7530BA
secondary
#A3C97D
accent
#E24694
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7530BA

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

Preview Lab → · Contrast checker → · Palette generator →

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