#7530B5#7530B5

#7530B5 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.198 H 303.2°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7530B5
RGBrgb(117, 48, 181)
HSLhsl(271, 58%, 45%)
HSVhsv(271, 73%, 71%)
CMYKcmyk(35.4%, 73.5%, 0%, 29%)
CIE-LABlab(36.43, 54.24, -58.15)
CIE-LCHlch(36.43, 79.52, 313.01°)
OKLaboklab(47.62% 0.1082 -0.1657)
OKLCHoklch(47.62% 0.198 303.2)
XYZxyz(16.7316, 9.2320, 44.6076)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530B5 #70B530
analogous
#3330B5 #7530B5 #B530B3
triadic
#7530B5 #B57530 #30B575
tetradic
#7530B5 #B53330 #70B530 #30B3B5
square
#7530B5 #B53330 #70B530 #30B3B5
split-complementary
#7530B5 #B3B530 #30B533
monochromatic
#361654 #562385 #7530B5 #9451D1 #B182DE

Accessibility & contrast

On white

7.38
#7530B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##7530B5#FFFFFF#000000##FFFFFF
##7530B51.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#685170
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7530b5;
/* rgb */ color: rgb(117, 48, 181);
/* oklch */ color: oklch(47.6% 0.198 303.2);
Tailwind
colors: {
  custom: {
    50: '#a26fcc',
    500: '#7530b5',
    950: '#000000',
  },
}
SCSS
$custom: #7530b5;
$custom-light: #a26fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7530b5",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 181
  },
  "hsl": {
    "h": 271.128,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.19789,
    "h": 303.2
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#7530B5
secondary
#9FC77A
accent
#E14691
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7530B5

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

Preview Lab → · Contrast checker → · Palette generator →

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