#7654D7#7654D7

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

Color values

HEX#7654D7
RGBrgb(118, 84, 215)
HSLhsl(256, 62%, 59%)
HSVhsv(256, 61%, 84%)
CMYKcmyk(45.1%, 60.9%, 0%, 15.7%)
CIE-LABlab(45.77, 44.90, -62.75)
CIE-LCHlch(45.77, 77.16, 305.59°)
OKLaboklab(55.15% 0.0677 -0.1793)
OKLCHoklch(55.15% 0.192 290.7)
XYZxyz(22.9038, 15.0977, 65.9842)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654D7 #B5D754
analogous
#5473D7 #7654D7 #B854D7
triadic
#7654D7 #D77654 #54D776
tetradic
#7654D7 #D75473 #B5D754 #54D7B8
square
#7654D7 #D75473 #B5D754 #54D7B8
split-complementary
#7654D7 #D7B854 #73D754
monochromatic
#3E218F #532DC1 #7654D7 #9E86E3 #C5B7EE

Accessibility & contrast

On white

5.22
#7654D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7654D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654D7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654D7#FFFFFF#000000##FFFFFF
##7654D71.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#0069D4
Tritanopia (blue-blind)
#59728E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7654d7;
/* rgb */ color: rgb(118, 84, 215);
/* oklch */ color: oklch(55.2% 0.192 290.7);
Tailwind
colors: {
  custom: {
    50: '#a486e4',
    500: '#7654d7',
    950: '#000000',
  },
}
SCSS
$custom: #7654d7;
$custom-light: #a486e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7654d7",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 215
  },
  "hsl": {
    "h": 255.573,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55153,
    "c": 0.19163,
    "h": 290.7
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#7654D7
secondary
#D0DDA9
accent
#E543BB
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654D7

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

Preview Lab → · Contrast checker → · Palette generator →

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