#7526C1#7526C1

#7526C1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.220 H 301.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7526C1
RGBrgb(117, 38, 193)
HSLhsl(271, 67%, 45%)
HSVhsv(271, 80%, 76%)
CMYKcmyk(39.4%, 80.3%, 0%, 24.3%)
CIE-LABlab(36.02, 61.05, -65.89)
CIE-LCHlch(36.02, 89.82, 312.82°)
OKLaboklab(47.64% 0.1136 -0.1883)
OKLCHoklch(47.64% 0.22 301.1)
XYZxyz(17.6525, 9.0183, 51.2524)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526C1 #72C126
analogous
#2826C1 #7526C1 #C126BF
triadic
#7526C1 #C17526 #26C175
tetradic
#7526C1 #C12826 #72C126 #26BFC1
square
#7526C1 #C12826 #72C126 #26BFC1
split-complementary
#7526C1 #BFC126 #26C128
monochromatic
#37125B #561C8E #7526C1 #9449DB #B27CE5

Accessibility & contrast

On white

7.49
#7526C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7526C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526C1
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526C1#FFFFFF#000000##FFFFFF
##7526C11.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#645175
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7526c1;
/* rgb */ color: rgb(117, 38, 193);
/* oklch */ color: oklch(47.6% 0.220 301.1);
Tailwind
colors: {
  custom: {
    50: '#a46bd5',
    500: '#7526c1',
    950: '#000000',
  },
}
SCSS
$custom: #7526c1;
$custom-light: #a46bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7526c1",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 270.581,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.21995,
    "h": 301.1
  },
  "luminance": 0.09018
}

Semantic roles & 50–950 ramp

primary
#7526C1
secondary
#A1CD75
accent
#EA3E92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7526C1

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

Preview Lab → · Contrast checker → · Palette generator →

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