#7523A5#7523A5

#7523A5 is a mid, vivid violet. Relative luminance 0.077; OKLCH L 45.1% C 0.196 H 309.0°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7523A5
RGBrgb(117, 35, 165)
HSLhsl(278, 65%, 39%)
HSVhsv(278, 79%, 65%)
CMYKcmyk(29.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(33.35, 55.83, -53.59)
CIE-LCHlch(33.35, 77.39, 316.17°)
OKLaboklab(45.07% 0.1234 -0.1522)
OKLCHoklch(45.07% 0.196 309)
XYZxyz(14.7273, 7.7009, 36.3006)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523A5 #53A523
analogous
#3423A5 #7523A5 #A52394
triadic
#7523A5 #A57523 #23A575
tetradic
#7523A5 #A53423 #53A523 #2394A5
square
#7523A5 #A53423 #53A523 #2394A5
split-complementary
#7523A5 #94A523 #23A534
monochromatic
#2D0E40 #511873 #7523A5 #9832D3 #B164DE

Accessibility & contrast

On white

8.27
#7523A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7523A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523A5
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523A5#FFFFFF#000000##FFFFFF
##7523A51.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#6E4464
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7523a5;
/* rgb */ color: rgb(117, 35, 165);
/* oklch */ color: oklch(45.1% 0.196 309.0);
Tailwind
colors: {
  custom: {
    50: '#a268c1',
    500: '#7523a5',
    950: '#000000',
  },
}
SCSS
$custom: #7523a5;
$custom-light: #a268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7523a5",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 277.846,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.19594,
    "h": 309
  },
  "luminance": 0.07701
}

Semantic roles & 50–950 ramp

primary
#7523A5
secondary
#85C460
accent
#E8407E
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7523A5

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

Preview Lab → · Contrast checker → · Palette generator →

#7523A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva