#7654D9#7654D9

#7654D9 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.194 H 290.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7654D9
RGBrgb(118, 84, 217)
HSLhsl(255, 64%, 59%)
HSVhsv(255, 61%, 85%)
CMYKcmyk(45.6%, 61.3%, 0%, 14.9%)
CIE-LABlab(45.91, 45.46, -63.67)
CIE-LCHlch(45.91, 78.23, 305.53°)
OKLaboklab(55.3% 0.0676 -0.1819)
OKLCHoklch(55.3% 0.194 290.4)
XYZxyz(23.1624, 15.2011, 67.3459)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654D9 #B7D954
analogous
#5475D9 #7654D9 #B854D9
triadic
#7654D9 #D97654 #54D976
tetradic
#7654D9 #D95475 #B7D954 #54D9B8
square
#7654D9 #D95475 #B7D954 #54D9B8
split-complementary
#7654D9 #D9B854 #75D954
monochromatic
#3E2092 #532CC4 #7654D9 #9E86E4 #C6B8EF

Accessibility & contrast

On white

5.20
#7654D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7654D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654D9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654D9#FFFFFF#000000##FFFFFF
##7654D91.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#58738F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7654d9;
/* rgb */ color: rgb(118, 84, 217);
/* oklch */ color: oklch(55.3% 0.194 290.4);
Tailwind
colors: {
  custom: {
    50: '#a486e6',
    500: '#7654d9',
    950: '#000000',
  },
}
SCSS
$custom: #7654d9;
$custom-light: #a486e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7654d9",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 255.338,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.553,
    "c": 0.1941,
    "h": 290.4
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#7654D9
secondary
#D1DFAA
accent
#E741BC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654D9

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

Preview Lab → · Contrast checker → · Palette generator →

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