#7656CA#7656CA

#7656CA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.173 H 292.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7656CA
RGBrgb(118, 86, 202)
HSLhsl(257, 52%, 56%)
HSVhsv(257, 57%, 79%)
CMYKcmyk(41.6%, 57.4%, 0%, 20.8%)
CIE-LABlab(45.32, 40.14, -56.02)
CIE-LCHlch(45.32, 68.92, 305.63°)
OKLaboklab(54.54% 0.0659 -0.1595)
OKLCHoklch(54.54% 0.173 292.5)
XYZxyz(21.4568, 14.7708, 57.5862)
Luminance0.1477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656CA #AACA56
analogous
#5670CA #7656CA #B056CA
triadic
#7656CA #CA7656 #56CA76
tetradic
#7656CA #CA5670 #AACA56 #56CAB0
square
#7656CA #CA5670 #AACA56 #56CAB0
split-complementary
#7656CA #CAB056 #70CA56
monochromatic
#3F287E #5736AD #7656CA #9C85D9 #C2B3E7

Accessibility & contrast

On white

5.31
#7656CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7656CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656CA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656CA#FFFFFF#000000##FFFFFF
##7656CA1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCE
Deuteranopia (green-blind)
#1D69C7
Tritanopia (blue-blind)
#5F6F88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7656ca;
/* rgb */ color: rgb(118, 86, 202);
/* oklch */ color: oklch(54.5% 0.173 292.5);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7656ca',
    950: '#000000',
  },
}
SCSS
$custom: #7656ca;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7656ca",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 256.552,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.17254,
    "h": 292.5
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#7656CA
secondary
#C9D6A6
accent
#DC4CB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7656CA

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

Preview Lab → · Contrast checker → · Palette generator →

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