#7526AF#7526AF

#7526AF is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.1% C 0.203 H 305.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7526AF
RGBrgb(117, 38, 175)
HSLhsl(275, 64%, 42%)
HSVhsv(275, 78%, 69%)
CMYKcmyk(33.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(34.53, 56.94, -57.68)
CIE-LCHlch(34.53, 81.05, 314.63°)
OKLaboklab(46.14% 0.1185 -0.1642)
OKLCHoklch(46.14% 0.203 305.8)
XYZxyz(15.7654, 8.2634, 41.3136)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526AF #60AF26
analogous
#3126AF #7526AF #AF26A4
triadic
#7526AF #AF7526 #26AF75
tetradic
#7526AF #AF3126 #60AF26 #26A4AF
square
#7526AF #AF3126 #60AF26 #26A4AF
split-complementary
#7526AF #A4AF26 #26AF31
monochromatic
#32104A #531B7D #7526AF #953DD5 #B070E0

Accessibility & contrast

On white

7.92
#7526AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7526AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526AF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526AF#FFFFFF#000000##FFFFFF
##7526AF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#6A496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7526af;
/* rgb */ color: rgb(117, 38, 175);
/* oklch */ color: oklch(46.1% 0.203 305.8);
Tailwind
colors: {
  custom: {
    50: '#a26ac8',
    500: '#7526af',
    950: '#000000',
  },
}
SCSS
$custom: #7526af;
$custom-light: #a26ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#7526af",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 274.599,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.20253,
    "h": 305.8
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#7526AF
secondary
#91C76A
accent
#E74087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7526AF

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

Preview Lab → · Contrast checker → · Palette generator →

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