#7526C4#7526C4

#7526C4 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.9% C 0.223 H 300.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7526C4
RGBrgb(117, 38, 196)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(40.3%, 80.6%, 0%, 23.1%)
CIE-LABlab(36.28, 61.74, -67.22)
CIE-LCHlch(36.28, 91.28, 312.57°)
OKLaboklab(47.9% 0.1127 -0.1922)
OKLCHoklch(47.9% 0.223 300.4)
XYZxyz(17.9905, 9.1535, 53.0328)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7526C4 #75C426
analogous
#2626C4 #7526C4 #C426C4
triadic
#7526C4 #C47526 #26C475
tetradic
#7526C4 #C42626 #75C426 #26C4C4
square
#7526C4 #C42626 #75C426 #26C4C4
split-complementary
#7526C4 #C4C426 #26C426
monochromatic
#38125D #561C91 #7526C4 #944BDC #B27EE6

Accessibility & contrast

On white

7.42
#7526C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7526C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7526C4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7526C4#FFFFFF#000000##FFFFFF
##7526C41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0054C1
Tritanopia (blue-blind)
#625376
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7526c4;
/* rgb */ color: rgb(117, 38, 196);
/* oklch */ color: oklch(47.9% 0.223 300.4);
Tailwind
colors: {
  custom: {
    50: '#a46bd7',
    500: '#7526c4',
    950: '#000000',
  },
}
SCSS
$custom: #7526c4;
$custom-light: #a46bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7526c4",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 270,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47902,
    "c": 0.22285,
    "h": 300.4
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#7526C4
secondary
#A3CE77
accent
#EA3D94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7526C4

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

Preview Lab → · Contrast checker → · Palette generator →

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