#7526BC#7526BC

#7526BC is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.215 H 302.3°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7526BC
RGBrgb(117, 38, 188)
HSLhsl(272, 66%, 44%)
HSVhsv(272, 80%, 74%)
CMYKcmyk(37.8%, 79.8%, 0%, 26.3%)
CIE-LABlab(35.59, 59.90, -63.64)
CIE-LCHlch(35.59, 87.40, 313.26°)
OKLaboklab(47.22% 0.1151 -0.1817)
OKLCHoklch(47.22% 0.215 302.3)
XYZxyz(17.1041, 8.7989, 48.3645)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526BC #6DBC26
analogous
#2A26BC #7526BC #BC26B8
triadic
#7526BC #BC7526 #26BC75
tetradic
#7526BC #BC2A26 #6DBC26 #26B8BC
square
#7526BC #BC2A26 #6DBC26 #26B8BC
split-complementary
#7526BC #B8BC26 #26BC2A
monochromatic
#361156 #551C89 #7526BC #9446DA #B179E4

Accessibility & contrast

On white

7.61
#7526BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7526BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526BC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526BC#FFFFFF#000000##FFFFFF
##7526BC1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#664F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7526bc;
/* rgb */ color: rgb(117, 38, 188);
/* oklch */ color: oklch(47.2% 0.215 302.3);
Tailwind
colors: {
  custom: {
    50: '#a36ad1',
    500: '#7526bc',
    950: '#000000',
  },
}
SCSS
$custom: #7526bc;
$custom-light: #a36ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7526bc",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 271.6,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47216,
    "c": 0.21511,
    "h": 302.3
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#7526BC
secondary
#9DCC72
accent
#E93F8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7526BC

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

Preview Lab → · Contrast checker → · Palette generator →

#7526BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva