#7654D8#7654D8

#7654D8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.193 H 290.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7654D8
RGBrgb(118, 84, 216)
HSLhsl(255, 63%, 59%)
HSVhsv(255, 61%, 85%)
CMYKcmyk(45.4%, 61.1%, 0%, 15.3%)
CIE-LABlab(45.84, 45.18, -63.21)
CIE-LCHlch(45.84, 77.70, 305.56°)
OKLaboklab(55.23% 0.0677 -0.1806)
OKLCHoklch(55.23% 0.193 290.5)
XYZxyz(23.0327, 15.1492, 66.6630)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654D8 #B6D854
analogous
#5474D8 #7654D8 #B854D8
triadic
#7654D8 #D87654 #54D876
tetradic
#7654D8 #D85474 #B6D854 #54D8B8
square
#7654D8 #D85474 #B6D854 #54D8B8
split-complementary
#7654D8 #D8B854 #74D854
monochromatic
#3E2191 #532CC2 #7654D8 #9E86E3 #C6B8EF

Accessibility & contrast

On white

5.21
#7654D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7654D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654D8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654D8#FFFFFF#000000##FFFFFF
##7654D81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDC
Deuteranopia (green-blind)
#006AD5
Tritanopia (blue-blind)
#58728E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7654d8;
/* rgb */ color: rgb(118, 84, 216);
/* oklch */ color: oklch(55.2% 0.193 290.5);
Tailwind
colors: {
  custom: {
    50: '#a486e5',
    500: '#7654d8',
    950: '#000000',
  },
}
SCSS
$custom: #7654d8;
$custom-light: #a486e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7654d8",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 255.455,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.19287,
    "h": 290.5
  },
  "luminance": 0.1515
}

Semantic roles & 50–950 ramp

primary
#7654D8
secondary
#D1DEAA
accent
#E642BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654D8

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

Preview Lab → · Contrast checker → · Palette generator →

#7654D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva