#7530B8#7530B8

#7530B8 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.201 H 302.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7530B8
RGBrgb(117, 48, 184)
HSLhsl(270, 59%, 45%)
HSVhsv(270, 74%, 72%)
CMYKcmyk(36.4%, 73.9%, 0%, 27.8%)
CIE-LABlab(36.66, 54.96, -59.54)
CIE-LCHlch(36.66, 81.03, 312.71°)
OKLaboklab(47.86% 0.1076 -0.1698)
OKLCHoklch(47.86% 0.201 302.4)
XYZxyz(17.0427, 9.3565, 46.2462)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530B8 #73B830
analogous
#3130B8 #7530B8 #B830B7
triadic
#7530B8 #B87530 #30B875
tetradic
#7530B8 #B83130 #73B830 #30B7B8
square
#7530B8 #B83130 #73B830 #30B7B8
split-complementary
#7530B8 #B7B830 #30B831
monochromatic
#371757 #562387 #7530B8 #9453D2 #B284DF

Accessibility & contrast

On white

7.31
#7530B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7530B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7530B8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7530B8#FFFFFF#000000##FFFFFF
##7530B81.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#675272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7530b8;
/* rgb */ color: rgb(117, 48, 184);
/* oklch */ color: oklch(47.9% 0.201 302.4);
Tailwind
colors: {
  custom: {
    50: '#a36fce',
    500: '#7530b8',
    950: '#000000',
  },
}
SCSS
$custom: #7530b8;
$custom-light: #a36fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7530b8",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 270.441,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.20099,
    "h": 302.4
  },
  "luminance": 0.09357
}

Semantic roles & 50–950 ramp

primary
#7530B8
secondary
#A1C87C
accent
#E24693
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7530B8

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

Preview Lab → · Contrast checker → · Palette generator →

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