#7523A6#7523A6

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

Color values

HEX#7523A6
RGBrgb(117, 35, 166)
HSLhsl(278, 65%, 39%)
HSVhsv(278, 79%, 65%)
CMYKcmyk(29.5%, 78.9%, 0%, 34.9%)
CIE-LABlab(33.43, 56.05, -54.07)
CIE-LCHlch(33.43, 77.88, 316.03°)
OKLaboklab(45.15% 0.1232 -0.1536)
OKLCHoklch(45.15% 0.197 308.7)
XYZxyz(14.8187, 7.7374, 36.7818)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523A6 #54A623
analogous
#3323A6 #7523A6 #A62396
triadic
#7523A6 #A67523 #23A675
tetradic
#7523A6 #A63323 #54A623 #2396A6
square
#7523A6 #A63323 #54A623 #2396A6
split-complementary
#7523A6 #96A623 #23A633
monochromatic
#2E0E41 #511873 #7523A6 #9732D4 #B165DF

Accessibility & contrast

On white

8.24
#7523A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7523A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523A6
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523A6#FFFFFF#000000##FFFFFF
##7523A61.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAA
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#6D4464
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7523a6;
/* rgb */ color: rgb(117, 35, 166);
/* oklch */ color: oklch(45.1% 0.197 308.7);
Tailwind
colors: {
  custom: {
    50: '#a268c1',
    500: '#7523a6',
    950: '#000000',
  },
}
SCSS
$custom: #7523a6;
$custom-light: #a268c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7523a6",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 277.557,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45149,
    "c": 0.19688,
    "h": 308.7
  },
  "luminance": 0.07737
}

Semantic roles & 50–950 ramp

primary
#7523A6
secondary
#86C461
accent
#E8407F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7523A6

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

Preview Lab → · Contrast checker → · Palette generator →

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