#7525BD#7525BD

#7525BD is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.217 H 302.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7525BD
RGBrgb(117, 37, 189)
HSLhsl(272, 67%, 44%)
HSVhsv(272, 80%, 74%)
CMYKcmyk(38.1%, 80.4%, 0%, 25.9%)
CIE-LABlab(35.56, 60.49, -64.30)
CIE-LCHlch(35.56, 88.28, 313.25°)
OKLaboklab(47.22% 0.1155 -0.1836)
OKLCHoklch(47.22% 0.217 302.2)
XYZxyz(17.1808, 8.7791, 48.9236)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525BD #6DBD25
analogous
#2925BD #7525BD #BD25B9
triadic
#7525BD #BD7525 #25BD75
tetradic
#7525BD #BD2925 #6DBD25 #25B9BD
square
#7525BD #BD2925 #6DBD25 #25B9BD
split-complementary
#7525BD #B9BD25 #25BD29
monochromatic
#361157 #551B8A #7525BD #9445DB #B178E5

Accessibility & contrast

On white

7.62
#7525BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7525BD
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525BD#FFFFFF#000000##FFFFFF
##7525BD1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0053BA
Tritanopia (blue-blind)
#654F72
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7525bd;
/* rgb */ color: rgb(117, 37, 189);
/* oklch */ color: oklch(47.2% 0.217 302.2);
Tailwind
colors: {
  custom: {
    50: '#a46ad2',
    500: '#7525bd',
    950: '#000000',
  },
}
SCSS
$custom: #7525bd;
$custom-light: #a46ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7525bd",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 271.579,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.47215,
    "c": 0.21696,
    "h": 302.2
  },
  "luminance": 0.08779
}

Semantic roles & 50–950 ramp

primary
#7525BD
secondary
#9DCC72
accent
#EA3E8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #7525BD

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

Preview Lab → · Contrast checker → · Palette generator →

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