#7525BE#7525BE

#7525BE is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.218 H 301.9°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7525BE
RGBrgb(117, 37, 190)
HSLhsl(271, 67%, 45%)
HSVhsv(271, 81%, 75%)
CMYKcmyk(38.4%, 80.5%, 0%, 25.5%)
CIE-LABlab(35.64, 60.72, -64.75)
CIE-LCHlch(35.64, 88.76, 313.16°)
OKLaboklab(47.3% 0.1153 -0.185)
OKLCHoklch(47.3% 0.218 301.9)
XYZxyz(17.2897, 8.8227, 49.4973)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525BE #6EBE25
analogous
#2925BE #7525BE #BE25BA
triadic
#7525BE #BE7525 #25BE75
tetradic
#7525BE #BE2925 #6EBE25 #25BABE
square
#7525BE #BE2925 #6EBE25 #25BABE
split-complementary
#7525BE #BABE25 #25BE29
monochromatic
#361158 #551B8B #7525BE #9445DB #B179E5

Accessibility & contrast

On white

7.60
#7525BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7525BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525BE
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525BE#FFFFFF#000000##FFFFFF
##7525BE1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0053BB
Tritanopia (blue-blind)
#655073
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7525be;
/* rgb */ color: rgb(117, 37, 190);
/* oklch */ color: oklch(47.3% 0.218 301.9);
Tailwind
colors: {
  custom: {
    50: '#a46ad3',
    500: '#7525be',
    950: '#000000',
  },
}
SCSS
$custom: #7525be;
$custom-light: #a46ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7525be",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 271.373,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.473,
    "c": 0.21793,
    "h": 301.9
  },
  "luminance": 0.08823
}

Semantic roles & 50–950 ramp

primary
#7525BE
secondary
#9DCD72
accent
#EA3E90
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7525BE

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

Preview Lab → · Contrast checker → · Palette generator →

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