#7525D4#7525D4

#7525D4 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.2% C 0.239 H 296.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7525D4
RGBrgb(117, 37, 212)
HSLhsl(267, 70%, 49%)
HSVhsv(267, 83%, 83%)
CMYKcmyk(44.8%, 82.5%, 0%, 16.9%)
CIE-LABlab(37.59, 65.81, -74.38)
CIE-LCHlch(37.59, 99.32, 311.50°)
OKLaboklab(49.24% 0.1082 -0.2132)
OKLCHoklch(49.24% 0.239 296.9)
XYZxyz(19.8782, 9.8581, 63.1301)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7525D4 #84D425
analogous
#252CD4 #7525D4 #CD25D4
triadic
#7525D4 #D47525 #25D475
tetradic
#7525D4 #D4252C #84D425 #25D4CD
square
#7525D4 #D4252C #84D425 #25D4CD
split-complementary
#7525D4 #D4CD25 #2CD425
monochromatic
#3B136C #581CA0 #7525D4 #9555E1 #B689EA

Accessibility & contrast

On white

7.07
#7525D4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7525D4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7525D4
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7525D4#FFFFFF#000000##FFFFFF
##7525D41.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D9
Deuteranopia (green-blind)
#0056D1
Tritanopia (blue-blind)
#5B597F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7525d4;
/* rgb */ color: rgb(117, 37, 212);
/* oklch */ color: oklch(49.2% 0.239 296.9);
Tailwind
colors: {
  custom: {
    50: '#a66be3',
    500: '#7525d4',
    950: '#000000',
  },
}
SCSS
$custom: #7525d4;
$custom-light: #a66be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7525d4",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 212
  },
  "hsl": {
    "h": 267.429,
    "s": 70.281,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49241,
    "c": 0.23909,
    "h": 296.9
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#7525D4
secondary
#AED481
accent
#ED3B9C
background
#FAF6FE
surface
#F5ECFC
border
#CFC7D5
text
#110716
muted
#807A84

Preview Lab

Preview with #7525D4

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

Preview Lab → · Contrast checker → · Palette generator →

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