#7530B7#7530B7

#7530B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.200 H 302.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7530B7
RGBrgb(117, 48, 183)
HSLhsl(271, 58%, 45%)
HSVhsv(271, 74%, 72%)
CMYKcmyk(36.1%, 73.8%, 0%, 28.2%)
CIE-LABlab(36.58, 54.72, -59.08)
CIE-LCHlch(36.58, 80.53, 312.81°)
OKLaboklab(47.78% 0.1078 -0.1684)
OKLCHoklch(47.78% 0.2 302.6)
XYZxyz(16.9383, 9.3147, 45.6961)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530B7 #72B730
analogous
#3230B7 #7530B7 #B730B5
triadic
#7530B7 #B77530 #30B775
tetradic
#7530B7 #B73230 #72B730 #30B5B7
square
#7530B7 #B73230 #72B730 #30B5B7
split-complementary
#7530B7 #B5B730 #30B732
monochromatic
#371756 #562387 #7530B7 #9452D2 #B283DE

Accessibility & contrast

On white

7.33
#7530B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7530B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7530B7#FFFFFF#000000##FFFFFF
##7530B71.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#675271
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7530b7;
/* rgb */ color: rgb(117, 48, 183);
/* oklch */ color: oklch(47.8% 0.200 302.6);
Tailwind
colors: {
  custom: {
    50: '#a26fce',
    500: '#7530b7',
    950: '#000000',
  },
}
SCSS
$custom: #7530b7;
$custom-light: #a26fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7530b7",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 270.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.19996,
    "h": 302.6
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#7530B7
secondary
#A1C87B
accent
#E24692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7530B7

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

Preview Lab → · Contrast checker → · Palette generator →

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