#7564CA#7564CA

#7564CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.152 H 288.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7564CA
RGBrgb(117, 100, 202)
HSLhsl(250, 49%, 59%)
HSVhsv(250, 50%, 79%)
CMYKcmyk(42.1%, 50.5%, 0%, 20.8%)
CIE-LABlab(48.46, 31.69, -50.98)
CIE-LCHlch(48.46, 60.02, 301.87°)
OKLaboklab(56.85% 0.0477 -0.1446)
OKLCHoklch(56.85% 0.152 288.2)
XYZxyz(22.5510, 17.1597, 57.9896)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7564CA #B9CA64
analogous
#6486CA #7564CA #A864CA
triadic
#7564CA #CA7564 #64CA75
tetradic
#7564CA #CA6486 #B9CA64 #64CAA8
square
#7564CA #CA6486 #B9CA64 #64CAA8
split-complementary
#7564CA #CAA864 #86CA64
monochromatic
#3C2E86 #513DB3 #7564CA #9E92DA #C6BFE9

Accessibility & contrast

On white

4.74
#7564CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#7564CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7564CA#FFFFFF#000000##FFFFFF
##7564CA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3975CE
Deuteranopia (green-blind)
#3970C8
Tritanopia (blue-blind)
#5C798E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7564ca;
/* rgb */ color: rgb(117, 100, 202);
/* oklch */ color: oklch(56.9% 0.152 288.2);
Tailwind
colors: {
  custom: {
    50: '#a190db',
    500: '#7564ca',
    950: '#000000',
  },
}
SCSS
$custom: #7564ca;
$custom-light: #a190db;
$custom-dark: #000000;
JSON
{
  "hex": "#7564ca",
  "rgb": {
    "r": 117,
    "g": 100,
    "b": 202
  },
  "hsl": {
    "h": 250,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.15229,
    "h": 288.2
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#7564CA
secondary
#D2D9B1
accent
#D94FC2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83

Preview Lab

Preview with #7564CA

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

Preview Lab → · Contrast checker → · Palette generator →

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