#7525DC#7525DC

#7525DC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 50.0% C 0.247 H 295.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7525DC
RGBrgb(117, 37, 220)
HSLhsl(266, 72%, 50%)
HSVhsv(266, 83%, 86%)
CMYKcmyk(46.8%, 83.2%, 0%, 13.7%)
CIE-LABlab(38.33, 67.69, -77.77)
CIE-LCHlch(38.33, 103.10, 311.03°)
OKLaboklab(49.97% 0.1054 -0.2231)
OKLCHoklch(49.97% 0.247 295.3)
XYZxyz(20.9124, 10.2718, 68.5771)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525DC #8CDC25
analogous
#2530DC #7525DC #D125DC
triadic
#7525DC #DC7525 #25DC75
tetradic
#7525DC #DC2530 #8CDC25 #25DCD1
square
#7525DC #DC2530 #8CDC25 #25DCD1
split-complementary
#7525DC #DCD125 #30DC25
monochromatic
#3D1374 #591BA9 #7525DC #965AE4 #B88EED

Accessibility & contrast

On white

6.88
#7525DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7525DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7525DC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525DC#FFFFFF#000000##FFFFFF
##7525DC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE1
Deuteranopia (green-blind)
#0057D9
Tritanopia (blue-blind)
#565D84
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7525dc;
/* rgb */ color: rgb(117, 37, 220);
/* oklch */ color: oklch(50.0% 0.247 295.3);
Tailwind
colors: {
  custom: {
    50: '#a76ce8',
    500: '#7525dc',
    950: '#000000',
  },
}
SCSS
$custom: #7525dc;
$custom-light: #a76ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7525dc",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 220
  },
  "hsl": {
    "h": 266.23,
    "s": 72.332,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49973,
    "c": 0.24677,
    "h": 295.3
  },
  "luminance": 0.10272
}

Semantic roles & 50–950 ramp

primary
#7525DC
secondary
#B4D786
accent
#EF399F
background
#FBF6FE
surface
#F6ECFD
border
#D0C7D5
text
#110816
muted
#807A84

Preview Lab

Preview with #7525DC

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

Preview Lab → · Contrast checker → · Palette generator →

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