#7530B6#7530B6

#7530B6 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.199 H 302.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7530B6
RGBrgb(117, 48, 182)
HSLhsl(271, 58%, 45%)
HSVhsv(271, 74%, 71%)
CMYKcmyk(35.7%, 73.6%, 0%, 28.6%)
CIE-LABlab(36.51, 54.48, -58.61)
CIE-LCHlch(36.51, 80.02, 312.91°)
OKLaboklab(47.7% 0.108 -0.167)
OKLCHoklch(47.7% 0.199 302.9)
XYZxyz(16.8346, 9.2732, 45.1499)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530B6 #71B630
analogous
#3230B6 #7530B6 #B630B4
triadic
#7530B6 #B67530 #30B675
tetradic
#7530B6 #B63230 #71B630 #30B4B6
square
#7530B6 #B63230 #71B630 #30B4B6
split-complementary
#7530B6 #B4B630 #30B632
monochromatic
#371655 #562386 #7530B6 #9452D1 #B282DE

Accessibility & contrast

On white

7.36
#7530B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7530B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7530B6#FFFFFF#000000##FFFFFF
##7530B61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7530b6;
/* rgb */ color: rgb(117, 48, 182);
/* oklch */ color: oklch(47.7% 0.199 302.9);
Tailwind
colors: {
  custom: {
    50: '#a26fcd',
    500: '#7530b6',
    950: '#000000',
  },
}
SCSS
$custom: #7530b6;
$custom-light: #a26fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7530b6",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 270.896,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47704,
    "c": 0.19893,
    "h": 302.9
  },
  "luminance": 0.09273
}

Semantic roles & 50–950 ramp

primary
#7530B6
secondary
#A0C77B
accent
#E14692
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7530B6

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

Preview Lab → · Contrast checker → · Palette generator →

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