#7525C1#7525C1

#7525C1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.6% C 0.221 H 301.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7525C1
RGBrgb(117, 37, 193)
HSLhsl(271, 68%, 45%)
HSVhsv(271, 81%, 76%)
CMYKcmyk(39.4%, 80.8%, 0%, 24.3%)
CIE-LABlab(35.90, 61.40, -66.09)
CIE-LCHlch(35.90, 90.21, 312.90°)
OKLaboklab(47.56% 0.1144 -0.1889)
OKLCHoklch(47.56% 0.221 301.2)
XYZxyz(17.6210, 8.9552, 51.2419)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525C1 #71C125
analogous
#2725C1 #7525C1 #C125BF
triadic
#7525C1 #C17525 #25C175
tetradic
#7525C1 #C12725 #71C125 #25BFC1
square
#7525C1 #C12725 #71C125 #25BFC1
split-complementary
#7525C1 #BFC125 #25C127
monochromatic
#37115A #561B8E #7525C1 #9447DC #B27BE6

Accessibility & contrast

On white

7.52
#7525C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7525C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525C1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525C1#FFFFFF#000000##FFFFFF
##7525C11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0053BE
Tritanopia (blue-blind)
#645174
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7525c1;
/* rgb */ color: rgb(117, 37, 193);
/* oklch */ color: oklch(47.6% 0.221 301.2);
Tailwind
colors: {
  custom: {
    50: '#a46ad5',
    500: '#7525c1',
    950: '#000000',
  },
}
SCSS
$custom: #7525c1;
$custom-light: #a46ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#7525c1",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 270.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47558,
    "c": 0.22081,
    "h": 301.2
  },
  "luminance": 0.08955
}

Semantic roles & 50–950 ramp

primary
#7525C1
secondary
#A0CE74
accent
#EB3D92
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7525C1

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

Preview Lab → · Contrast checker → · Palette generator →

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