#7523A8#7523A8

#7523A8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.3% C 0.199 H 308.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7523A8
RGBrgb(117, 35, 168)
HSLhsl(277, 66%, 40%)
HSVhsv(277, 79%, 66%)
CMYKcmyk(30.4%, 79.2%, 0%, 34.1%)
CIE-LABlab(33.59, 56.49, -55.01)
CIE-LCHlch(33.59, 78.85, 315.76°)
OKLaboklab(45.31% 0.1227 -0.1564)
OKLCHoklch(45.31% 0.199 308.1)
XYZxyz(15.0035, 7.8114, 37.7556)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523A8 #56A823
analogous
#3223A8 #7523A8 #A82399
triadic
#7523A8 #A87523 #23A875
tetradic
#7523A8 #A83223 #56A823 #2399A8
square
#7523A8 #A83223 #56A823 #2399A8
split-complementary
#7523A8 #99A823 #23A832
monochromatic
#2E0E43 #521875 #7523A8 #9734D5 #B166DF

Accessibility & contrast

On white

8.20
#7523A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7523A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523A8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523A8#FFFFFF#000000##FFFFFF
##7523A81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7523a8;
/* rgb */ color: rgb(117, 35, 168);
/* oklch */ color: oklch(45.3% 0.199 308.1);
Tailwind
colors: {
  custom: {
    50: '#a268c3',
    500: '#7523a8',
    950: '#000000',
  },
}
SCSS
$custom: #7523a8;
$custom-light: #a268c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7523a8",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 276.992,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45308,
    "c": 0.19877,
    "h": 308.1
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#7523A8
secondary
#88C562
accent
#E83F80
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7523A8

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

Preview Lab → · Contrast checker → · Palette generator →

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