#7525B1#7525B1

#7525B1 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.2% C 0.205 H 305.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#7525B1
RGBrgb(117, 37, 177)
HSLhsl(274, 65%, 42%)
HSVhsv(274, 79%, 69%)
CMYKcmyk(33.9%, 79.1%, 0%, 30.6%)
CIE-LABlab(34.56, 57.76, -58.82)
CIE-LCHlch(34.56, 82.44, 314.48°)
OKLaboklab(46.21% 0.1189 -0.1675)
OKLCHoklch(46.21% 0.205 305.4)
XYZxyz(15.9317, 8.2795, 42.3452)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525B1 #61B125
analogous
#2F25B1 #7525B1 #B125A7
triadic
#7525B1 #B17525 #25B175
tetradic
#7525B1 #B12F25 #61B125 #25A7B1
square
#7525B1 #B12F25 #61B125 #25A7B1
split-complementary
#7525B1 #A7B125 #25B12F
monochromatic
#32104C #541A7E #7525B1 #953DD6 #B06FE1

Accessibility & contrast

On white

7.91
#7525B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7525B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525B1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525B1#FFFFFF#000000##FFFFFF
##7525B11.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#6A4A6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7525b1;
/* rgb */ color: rgb(117, 37, 177);
/* oklch */ color: oklch(46.2% 0.205 305.4);
Tailwind
colors: {
  custom: {
    50: '#a369c9',
    500: '#7525b1',
    950: '#000000',
  },
}
SCSS
$custom: #7525b1;
$custom-light: #a369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7525b1",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 274.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46212,
    "c": 0.20543,
    "h": 305.4
  },
  "luminance": 0.08279
}

Semantic roles & 50–950 ramp

primary
#7525B1
secondary
#92C86A
accent
#E83F88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7525B1

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

Preview Lab → · Contrast checker → · Palette generator →

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