#7523A2#7523A2

#7523A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.8% C 0.193 H 310.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7523A2
RGBrgb(117, 35, 162)
HSLhsl(279, 64%, 39%)
HSVhsv(279, 78%, 64%)
CMYKcmyk(27.8%, 78.4%, 0%, 36.5%)
CIE-LABlab(33.12, 55.18, -52.16)
CIE-LCHlch(33.12, 75.93, 316.61°)
OKLaboklab(44.83% 0.1241 -0.148)
OKLCHoklch(44.83% 0.193 310)
XYZxyz(14.4574, 7.5929, 34.8794)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523A2 #50A223
analogous
#3523A2 #7523A2 #A2238F
triadic
#7523A2 #A27523 #23A275
tetradic
#7523A2 #A23523 #50A223 #238FA2
square
#7523A2 #A23523 #50A223 #238FA2
split-complementary
#7523A2 #8FA223 #23A235
monochromatic
#2C0D3D #511870 #7523A2 #9930D2 #B262DD

Accessibility & contrast

On white

8.34
#7523A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7523A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523A2
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523A2#FFFFFF#000000##FFFFFF
##7523A21.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA5
Deuteranopia (green-blind)
#004F9F
Tritanopia (blue-blind)
#6F4262
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7523a2;
/* rgb */ color: rgb(117, 35, 162);
/* oklch */ color: oklch(44.8% 0.193 310.0);
Tailwind
colors: {
  custom: {
    50: '#a268be',
    500: '#7523a2',
    950: '#000000',
  },
}
SCSS
$custom: #7523a2;
$custom-light: #a268be;
$custom-dark: #000000;
JSON
{
  "hex": "#7523a2",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 278.74,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44834,
    "c": 0.19311,
    "h": 310
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#7523A2
secondary
#82C25E
accent
#E7407C
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7523A2

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

Preview Lab → · Contrast checker → · Palette generator →

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