#7523A7#7523A7

#7523A7 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.198 H 308.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7523A7
RGBrgb(117, 35, 167)
HSLhsl(277, 65%, 40%)
HSVhsv(277, 79%, 65%)
CMYKcmyk(29.9%, 79%, 0%, 34.5%)
CIE-LABlab(33.51, 56.27, -54.54)
CIE-LCHlch(33.51, 78.36, 315.89°)
OKLaboklab(45.23% 0.123 -0.155)
OKLCHoklch(45.23% 0.198 308.4)
XYZxyz(14.9107, 7.7742, 37.2668)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523A7 #55A723
analogous
#3323A7 #7523A7 #A72397
triadic
#7523A7 #A77523 #23A775
tetradic
#7523A7 #A73323 #55A723 #2397A7
square
#7523A7 #A73323 #55A723 #2397A7
split-complementary
#7523A7 #97A723 #23A733
monochromatic
#2E0E42 #521874 #7523A7 #9733D4 #B166DF

Accessibility & contrast

On white

8.22
#7523A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7523A7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523A7#FFFFFF#000000##FFFFFF
##7523A71.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAB
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#6D4565
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7523a7;
/* rgb */ color: rgb(117, 35, 167);
/* oklch */ color: oklch(45.2% 0.198 308.4);
Tailwind
colors: {
  custom: {
    50: '#a268c2',
    500: '#7523a7',
    950: '#000000',
  },
}
SCSS
$custom: #7523a7;
$custom-light: #a268c2;
$custom-dark: #000000;
JSON
{
  "hex": "#7523a7",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 277.273,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45228,
    "c": 0.19783,
    "h": 308.4
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#7523A7
secondary
#87C461
accent
#E83F7F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7523A7

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

Preview Lab → · Contrast checker → · Palette generator →

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