#7564AA#7564AA

#7564AA is a mid, moderate violet. Relative luminance 0.158; OKLCH L 55.0% C 0.108 H 293.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7564AA
RGBrgb(117, 100, 170)
HSLhsl(255, 29%, 53%)
HSVhsv(255, 41%, 67%)
CMYKcmyk(31.2%, 41.2%, 0%, 33.3%)
CIE-LABlab(46.71, 22.81, -35.20)
CIE-LCHlch(46.71, 41.94, 302.95°)
OKLaboklab(54.96% 0.0433 -0.0985)
OKLCHoklch(54.96% 0.108 293.7)
XYZxyz(19.1472, 15.7982, 40.0630)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7564AA #99AA64
analogous
#6476AA #7564AA #9864AA
triadic
#7564AA #AA7564 #64AA75
tetradic
#7564AA #AA6476 #99AA64 #64AA98
square
#7564AA #AA6476 #99AA64 #64AA98
split-complementary
#7564AA #AA9864 #76AA64
monochromatic
#3F345F #594A87 #7564AA #988CC0 #BBB3D5

Accessibility & contrast

On white

5.05
#7564AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7564AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7564AA#FFFFFF#000000##FFFFFF
##7564AA1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#526EA8
Tritanopia (blue-blind)
#69717F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7564aa;
/* rgb */ color: rgb(117, 100, 170);
/* oklch */ color: oklch(55.0% 0.108 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f90c3',
    500: '#7564aa',
    950: '#000000',
  },
}
SCSS
$custom: #7564aa;
$custom-light: #9f90c3;
$custom-dark: #000000;
JSON
{
  "hex": "#7564aa",
  "rgb": {
    "r": 117,
    "g": 100,
    "b": 170
  },
  "hsl": {
    "h": 254.571,
    "s": 29.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.10762,
    "h": 293.7
  },
  "luminance": 0.15799
}

Semantic roles & 50–950 ramp

primary
#7564AA
secondary
#BDC4A6
accent
#C562AD
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0F0C12
muted
#7E7D81

Preview Lab

Preview with #7564AA

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

Preview Lab → · Contrast checker → · Palette generator →

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