#7564BC#7564BC

#7564BC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.0% C 0.133 H 290.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7564BC
RGBrgb(117, 100, 188)
HSLhsl(252, 40%, 56%)
HSVhsv(252, 47%, 74%)
CMYKcmyk(37.8%, 46.8%, 0%, 26.3%)
CIE-LABlab(47.66, 27.73, -44.19)
CIE-LCHlch(47.66, 52.17, 302.11°)
OKLaboklab(55.99% 0.0462 -0.1247)
OKLCHoklch(55.99% 0.133 290.3)
XYZxyz(20.9679, 16.5265, 49.6524)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7564BC #ABBC64
analogous
#647FBC #7564BC #A164BC
triadic
#7564BC #BC7564 #64BC75
tetradic
#7564BC #BC647F #ABBC64 #64BCA1
square
#7564BC #BC647F #ABBC64 #64BCA1
split-complementary
#7564BC #BCA164 #7FBC64
monochromatic
#3F3274 #56449E #7564BC #9B8FCE #C1B9E1

Accessibility & contrast

On white

4.88
#7564BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#7564BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7564BC#FFFFFF#000000##FFFFFF
##7564BC1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473BF
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#637587
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7564bc;
/* rgb */ color: rgb(117, 100, 188);
/* oklch */ color: oklch(56.0% 0.133 290.3);
Tailwind
colors: {
  custom: {
    50: '#a090d0',
    500: '#7564bc',
    950: '#000000',
  },
}
SCSS
$custom: #7564bc;
$custom-light: #a090d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7564bc",
  "rgb": {
    "r": 117,
    "g": 100,
    "b": 188
  },
  "hsl": {
    "h": 251.591,
    "s": 39.64,
    "l": 56.471
  },
  "oklch": {
    "l": 0.55991,
    "c": 0.13303,
    "h": 290.3
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#7564BC
secondary
#C9D0AC
accent
#D058B8
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0C14
muted
#7F7D82

Preview Lab

Preview with #7564BC

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

Preview Lab → · Contrast checker → · Palette generator →

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