#7525B6#7525B6

#7525B6 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.6% C 0.210 H 304.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#7525B6
RGBrgb(117, 37, 182)
HSLhsl(273, 66%, 43%)
HSVhsv(273, 80%, 71%)
CMYKcmyk(35.7%, 79.7%, 0%, 28.6%)
CIE-LABlab(34.97, 58.89, -61.12)
CIE-LCHlch(34.97, 84.87, 313.94°)
OKLaboklab(46.63% 0.1175 -0.1743)
OKLCHoklch(46.63% 0.21 304)
XYZxyz(16.4392, 8.4825, 45.0181)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525B6 #66B625
analogous
#2C25B6 #7525B6 #B625AF
triadic
#7525B6 #B67525 #25B675
tetradic
#7525B6 #B62C25 #66B625 #25AFB6
square
#7525B6 #B62C25 #66B625 #25AFB6
split-complementary
#7525B6 #AFB625 #25B62C
monochromatic
#341050 #541B83 #7525B6 #9440D8 #B073E3

Accessibility & contrast

On white

7.79
#7525B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7525B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525B6
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525B6#FFFFFF#000000##FFFFFF
##7525B61.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#684C6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7525b6;
/* rgb */ color: rgb(117, 37, 182);
/* oklch */ color: oklch(46.6% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#a36acd',
    500: '#7525b6',
    950: '#000000',
  },
}
SCSS
$custom: #7525b6;
$custom-light: #a36acd;
$custom-dark: #000000;
JSON
{
  "hex": "#7525b6",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 273.103,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46625,
    "c": 0.21023,
    "h": 304
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#7525B6
secondary
#97CA6D
accent
#E93F8B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7525B6

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

Preview Lab → · Contrast checker → · Palette generator →

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