#7656DB#7656DB

#7656DB is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.194 H 289.7°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7656DB
RGBrgb(118, 86, 219)
HSLhsl(254, 65%, 60%)
HSVhsv(254, 61%, 86%)
CMYKcmyk(46.1%, 60.7%, 0%, 14.1%)
CIE-LABlab(46.47, 44.90, -63.89)
CIE-LCHlch(46.47, 78.09, 305.10°)
OKLaboklab(55.76% 0.0653 -0.1826)
OKLCHoklch(55.76% 0.194 289.7)
XYZxyz(23.5816, 15.6207, 68.7767)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7656DB #BBDB56
analogous
#5679DB #7656DB #B856DB
triadic
#7656DB #DB7656 #56DB76
tetradic
#7656DB #DB5679 #BBDB56 #56DBB8
square
#7656DB #DB5679 #BBDB56 #56DBB8
split-complementary
#7656DB #DBB856 #79DB56
monochromatic
#3D2097 #512BC9 #7656DB #9F88E6 #C8BBF0

Accessibility & contrast

On white

5.09
#7656DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7656DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7656DB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7656DB#FFFFFF#000000##FFFFFF
##7656DB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006BD8
Tritanopia (blue-blind)
#567590
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7656db;
/* rgb */ color: rgb(118, 86, 219);
/* oklch */ color: oklch(55.8% 0.194 289.7);
Tailwind
colors: {
  custom: {
    50: '#a587e7',
    500: '#7656db',
    950: '#000000',
  },
}
SCSS
$custom: #7656db;
$custom-light: #a587e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7656db",
  "rgb": {
    "r": 118,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 254.436,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.19395,
    "h": 289.7
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#7656DB
secondary
#D4E0AD
accent
#E840BF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7656DB

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

Preview Lab → · Contrast checker → · Palette generator →

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