#7525C5#7525C5

#7525C5 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.225 H 300.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#7525C5
RGBrgb(117, 37, 197)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(40.6%, 81.2%, 0%, 22.7%)
CIE-LABlab(36.24, 62.33, -67.86)
CIE-LCHlch(36.24, 92.14, 312.56°)
OKLaboklab(47.91% 0.1131 -0.1941)
OKLCHoklch(47.91% 0.225 300.2)
XYZxyz(18.0732, 9.1361, 53.6238)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525C5 #75C525
analogous
#2525C5 #7525C5 #C525C5
triadic
#7525C5 #C57525 #25C575
tetradic
#7525C5 #C52525 #75C525 #25C5C5
square
#7525C5 #C52525 #75C525 #25C5C5
split-complementary
#7525C5 #C5C525 #25C525
monochromatic
#38125E #561B91 #7525C5 #944ADD #B27EE7

Accessibility & contrast

On white

7.43
#7525C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7525C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525C5
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525C5#FFFFFF#000000##FFFFFF
##7525C51.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#625377
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7525c5;
/* rgb */ color: rgb(117, 37, 197);
/* oklch */ color: oklch(47.9% 0.225 300.2);
Tailwind
colors: {
  custom: {
    50: '#a46bd8',
    500: '#7525c5',
    950: '#000000',
  },
}
SCSS
$custom: #7525c5;
$custom-light: #a46bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7525c5",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 197
  },
  "hsl": {
    "h": 270,
    "s": 68.376,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.22466,
    "h": 300.2
  },
  "luminance": 0.09136
}

Semantic roles & 50–950 ramp

primary
#7525C5
secondary
#A3CF77
accent
#EB3D94
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7525C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7525C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva