#7656CB#7656CB

#7656CB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.6% C 0.174 H 292.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7656CB
RGBrgb(118, 86, 203)
HSLhsl(256, 53%, 57%)
HSVhsv(256, 58%, 80%)
CMYKcmyk(41.9%, 57.6%, 0%, 20.4%)
CIE-LABlab(45.38, 40.42, -56.49)
CIE-LCHlch(45.38, 69.46, 305.59°)
OKLaboklab(54.61% 0.0659 -0.1608)
OKLCHoklch(54.61% 0.174 292.3)
XYZxyz(21.5756, 14.8183, 58.2118)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656CB #ABCB56
analogous
#5671CB #7656CB #B056CB
triadic
#7656CB #CB7656 #56CB76
tetradic
#7656CB #CB5671 #ABCB56 #56CBB0
square
#7656CB #CB5671 #ABCB56 #56CBB0
split-complementary
#7656CB #CBB056 #71CB56
monochromatic
#3F277F #5736AE #7656CB #9C85D9 #C2B4E8

Accessibility & contrast

On white

5.30
#7656CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7656CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656CB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656CB#FFFFFF#000000##FFFFFF
##7656CB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCF
Deuteranopia (green-blind)
#1A69C8
Tritanopia (blue-blind)
#5F7088
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7656cb;
/* rgb */ color: rgb(118, 86, 203);
/* oklch */ color: oklch(54.6% 0.174 292.3);
Tailwind
colors: {
  custom: {
    50: '#a387db',
    500: '#7656cb',
    950: '#000000',
  },
}
SCSS
$custom: #7656cb;
$custom-light: #a387db;
$custom-dark: #000000;
JSON
{
  "hex": "#7656cb",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 256.41,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54613,
    "c": 0.17381,
    "h": 292.3
  },
  "luminance": 0.14819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7656CB

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

Preview Lab → · Contrast checker → · Palette generator →

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