#7525B0#7525B0

#7525B0 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.204 H 305.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7525B0
RGBrgb(117, 37, 176)
HSLhsl(275, 65%, 42%)
HSVhsv(275, 79%, 69%)
CMYKcmyk(33.5%, 79%, 0%, 31%)
CIE-LABlab(34.48, 57.53, -58.35)
CIE-LCHlch(34.48, 81.95, 314.60°)
OKLaboklab(46.13% 0.1191 -0.1662)
OKLCHoklch(46.13% 0.204 305.6)
XYZxyz(15.8324, 8.2398, 41.8222)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525B0 #60B025
analogous
#2F25B0 #7525B0 #B025A6
triadic
#7525B0 #B07525 #25B075
tetradic
#7525B0 #B02F25 #60B025 #25A6B0
square
#7525B0 #B02F25 #60B025 #25A6B0
split-complementary
#7525B0 #A6B025 #25B02F
monochromatic
#32104B #531A7D #7525B0 #953CD6 #B06FE1

Accessibility & contrast

On white

7.93
#7525B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7525B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525B0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525B0#FFFFFF#000000##FFFFFF
##7525B01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#6A496A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7525b0;
/* rgb */ color: rgb(117, 37, 176);
/* oklch */ color: oklch(46.1% 0.204 305.6);
Tailwind
colors: {
  custom: {
    50: '#a269c9',
    500: '#7525b0',
    950: '#000000',
  },
}
SCSS
$custom: #7525b0;
$custom-light: #a269c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7525b0",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 274.532,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4613,
    "c": 0.20446,
    "h": 305.6
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#7525B0
secondary
#91C76A
accent
#E84087
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525B0

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

Preview Lab → · Contrast checker → · Palette generator →

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