#7564A1#7564A1

#7564A1 is a mid, moderate violet. Relative luminance 0.155; OKLCH L 54.5% C 0.095 H 295.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7564A1
RGBrgb(117, 100, 161)
HSLhsl(257, 24%, 51%)
HSVhsv(257, 38%, 63%)
CMYKcmyk(27.3%, 37.9%, 0%, 36.9%)
CIE-LABlab(46.27, 20.44, -30.59)
CIE-LCHlch(46.27, 36.79, 303.75°)
OKLaboklab(54.49% 0.0414 -0.0852)
OKLCHoklch(54.49% 0.095 295.9)
XYZxyz(18.3248, 15.4693, 35.7317)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7564A1 #90A164
analogous
#6471A1 #7564A1 #9364A1
triadic
#7564A1 #A17564 #64A175
tetradic
#7564A1 #A16471 #90A164 #64A193
square
#7564A1 #A16471 #90A164 #64A193
split-complementary
#7564A1 #A19364 #71A164
monochromatic
#3E3456 #594B7C #7564A1 #978AB8 #B9B0CF

Accessibility & contrast

On white

5.13
#7564A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7564A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7564A1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7564A1#FFFFFF#000000##FFFFFF
##7564A11.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546EA3
Deuteranopia (green-blind)
#566D9F
Tritanopia (blue-blind)
#6C6E7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7564a1;
/* rgb */ color: rgb(117, 100, 161);
/* oklch */ color: oklch(54.5% 0.095 295.9);
Tailwind
colors: {
  custom: {
    50: '#9e90bd',
    500: '#7564a1',
    950: '#000000',
  },
}
SCSS
$custom: #7564a1;
$custom-light: #9e90bd;
$custom-dark: #000000;
JSON
{
  "hex": "#7564a1",
  "rgb": {
    "r": 117,
    "g": 100,
    "b": 161
  },
  "hsl": {
    "h": 256.721,
    "s": 24.498,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54487,
    "c": 0.09472,
    "h": 295.9
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#7564A1
secondary
#B6BEA3
accent
#C167A8
background
#F9F8FB
surface
#F2F0F6
border
#CCCBD0
text
#0E0C12
muted
#7E7D81

Preview Lab

Preview with #7564A1

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

Preview Lab → · Contrast checker → · Palette generator →

#7564A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva