#7523B1#7523B1

#7523B1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.0% C 0.207 H 305.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7523B1
RGBrgb(117, 35, 177)
HSLhsl(275, 67%, 42%)
HSVhsv(275, 80%, 69%)
CMYKcmyk(33.9%, 80.2%, 0%, 30.6%)
CIE-LABlab(34.31, 58.48, -59.22)
CIE-LCHlch(34.31, 83.23, 314.64°)
OKLaboklab(46.04% 0.1204 -0.1687)
OKLCHoklch(46.04% 0.207 305.5)
XYZxyz(15.8712, 8.1584, 42.3251)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7523B1 #5FB123
analogous
#2E23B1 #7523B1 #B123A6
triadic
#7523B1 #B17523 #23B175
tetradic
#7523B1 #B12E23 #5FB123 #23A6B1
square
#7523B1 #B12E23 #5FB123 #23A6B1
split-complementary
#7523B1 #A6B123 #23B12E
monochromatic
#310F4B #53197E #7523B1 #9539D8 #B06CE2

Accessibility & contrast

On white

7.98
#7523B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7523B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7523B1
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7523B1#FFFFFF#000000##FFFFFF
##7523B11.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB5
Deuteranopia (green-blind)
#0051AE
Tritanopia (blue-blind)
#6A496B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7523b1;
/* rgb */ color: rgb(117, 35, 177);
/* oklch */ color: oklch(46.0% 0.207 305.5);
Tailwind
colors: {
  custom: {
    50: '#a369c9',
    500: '#7523b1',
    950: '#000000',
  },
}
SCSS
$custom: #7523b1;
$custom-light: #a369c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7523b1",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 177
  },
  "hsl": {
    "h": 274.648,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.2073,
    "h": 305.5
  },
  "luminance": 0.08158
}

Semantic roles & 50–950 ramp

primary
#7523B1
secondary
#90C868
accent
#EA3E87
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7523B1

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

Preview Lab → · Contrast checker → · Palette generator →

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