#7530B2#7530B2

#7530B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.195 H 304.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7530B2
RGBrgb(117, 48, 178)
HSLhsl(272, 58%, 44%)
HSVhsv(272, 73%, 70%)
CMYKcmyk(34.3%, 73%, 0%, 30.2%)
CIE-LABlab(36.20, 53.53, -56.75)
CIE-LCHlch(36.20, 78.01, 313.33°)
OKLaboklab(47.39% 0.1088 -0.1615)
OKLCHoklch(47.39% 0.195 304)
XYZxyz(16.4271, 9.1102, 43.0039)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7530B2 #6DB230
analogous
#3430B2 #7530B2 #B230AE
triadic
#7530B2 #B27530 #30B275
tetradic
#7530B2 #B23430 #6DB230 #30AEB2
square
#7530B2 #B23430 #6DB230 #30AEB2
split-complementary
#7530B2 #AEB230 #30B234
monochromatic
#361652 #552382 #7530B2 #9450D0 #B180DD

Accessibility & contrast

On white

7.44
#7530B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7530B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7530B2
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7530B2#FFFFFF#000000##FFFFFF
##7530B21.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#69506E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7530b2;
/* rgb */ color: rgb(117, 48, 178);
/* oklch */ color: oklch(47.4% 0.195 304.0);
Tailwind
colors: {
  custom: {
    50: '#a26fca',
    500: '#7530b2',
    950: '#000000',
  },
}
SCSS
$custom: #7530b2;
$custom-light: #a26fca;
$custom-dark: #000000;
JSON
{
  "hex": "#7530b2",
  "rgb": {
    "r": 117,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 271.846,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.19477,
    "h": 304
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#7530B2
secondary
#9DC678
accent
#E1478F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7530B2

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

Preview Lab → · Contrast checker → · Palette generator →

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