#7526C7#7526C7

#7526C7 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.2% C 0.226 H 299.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7526C7
RGBrgb(117, 38, 199)
HSLhsl(269, 68%, 46%)
HSVhsv(269, 81%, 78%)
CMYKcmyk(41.2%, 80.9%, 0%, 22%)
CIE-LABlab(36.54, 62.44, -68.55)
CIE-LCHlch(36.54, 92.73, 312.33°)
OKLaboklab(48.16% 0.1118 -0.1961)
OKLCHoklch(48.16% 0.226 299.7)
XYZxyz(18.3354, 9.2914, 54.8492)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526C7 #78C726
analogous
#2628C7 #7526C7 #C626C7
triadic
#7526C7 #C77526 #26C775
tetradic
#7526C7 #C72628 #78C726 #26C7C6
square
#7526C7 #C72628 #78C726 #26C7C6
split-complementary
#7526C7 #C7C626 #28C726
monochromatic
#391260 #571C94 #7526C7 #944DDD #B381E7

Accessibility & contrast

On white

7.35
#7526C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7526C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526C7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526C7#FFFFFF#000000##FFFFFF
##7526C71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0055C4
Tritanopia (blue-blind)
#615478
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7526c7;
/* rgb */ color: rgb(117, 38, 199);
/* oklch */ color: oklch(48.2% 0.226 299.7);
Tailwind
colors: {
  custom: {
    50: '#a56bd9',
    500: '#7526c7',
    950: '#000000',
  },
}
SCSS
$custom: #7526c7;
$custom-light: #a56bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7526c7",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 269.441,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48163,
    "c": 0.22575,
    "h": 299.7
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#7526C7
secondary
#A5CF79
accent
#EB3D96
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7526C7

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

Preview Lab → · Contrast checker → · Palette generator →

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