#7525C4#7525C4

#7525C4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.8% C 0.224 H 300.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7525C4
RGBrgb(117, 37, 196)
HSLhsl(270, 68%, 46%)
HSVhsv(270, 81%, 77%)
CMYKcmyk(40.3%, 81.1%, 0%, 23.1%)
CIE-LABlab(36.16, 62.10, -67.42)
CIE-LCHlch(36.16, 91.66, 312.65°)
OKLaboklab(47.82% 0.1134 -0.1928)
OKLCHoklch(47.82% 0.224 300.5)
XYZxyz(17.9590, 9.0904, 53.0223)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525C4 #74C425
analogous
#2625C4 #7525C4 #C425C3
triadic
#7525C4 #C47525 #25C475
tetradic
#7525C4 #C42625 #74C425 #25C3C4
square
#7525C4 #C42625 #74C425 #25C3C4
split-complementary
#7525C4 #C3C425 #25C426
monochromatic
#38125D #561B91 #7525C4 #9449DD #B27DE6

Accessibility & contrast

On white

7.45
#7525C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7525C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525C4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525C4#FFFFFF#000000##FFFFFF
##7525C41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7525c4;
/* rgb */ color: rgb(117, 37, 196);
/* oklch */ color: oklch(47.8% 0.224 300.5);
Tailwind
colors: {
  custom: {
    50: '#a46ad7',
    500: '#7525c4',
    950: '#000000',
  },
}
SCSS
$custom: #7525c4;
$custom-light: #a46ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7525c4",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 270.189,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47818,
    "c": 0.2237,
    "h": 300.5
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#7525C4
secondary
#A2CF76
accent
#EB3D93
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #7525C4

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

Preview Lab → · Contrast checker → · Palette generator →

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