#7654BE#7654BE

#7654BE is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.4% C 0.160 H 295.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7654BE
RGBrgb(118, 84, 190)
HSLhsl(259, 45%, 54%)
HSVhsv(259, 56%, 75%)
CMYKcmyk(37.9%, 55.8%, 0%, 25.5%)
CIE-LABlab(44.10, 38.00, -51.02)
CIE-LCHlch(44.10, 63.62, 306.68°)
OKLaboklab(53.4% 0.0682 -0.1448)
OKLCHoklch(53.4% 0.16 295.2)
XYZxyz(19.9334, 13.9095, 50.3398)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BE #9CBE54
analogous
#5467BE #7654BE #AB54BE
triadic
#7654BE #BE7654 #54BE76
tetradic
#7654BE #BE5467 #9CBE54 #54BEAB
square
#7654BE #BE5467 #9CBE54 #54BEAB
split-complementary
#7654BE #BEAB54 #67BE54
monochromatic
#402A6E #593B9A #7654BE #9A80CF #BDADE0

Accessibility & contrast

On white

5.55
#7654BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7654BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654BE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BE#FFFFFF#000000##FFFFFF
##7654BE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#2C67BC
Tritanopia (blue-blind)
#646A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654be;
/* rgb */ color: rgb(118, 84, 190);
/* oklch */ color: oklch(53.4% 0.160 295.2);
Tailwind
colors: {
  custom: {
    50: '#a285d2',
    500: '#7654be',
    950: '#000000',
  },
}
SCSS
$custom: #7654be;
$custom-light: #a285d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7654be",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 190
  },
  "hsl": {
    "h": 259.245,
    "s": 44.915,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53401,
    "c": 0.16006,
    "h": 295.2
  },
  "luminance": 0.1391
}

Semantic roles & 50–950 ramp

primary
#7654BE
secondary
#BFCEA0
accent
#D553AB
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7654BE

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

Preview Lab → · Contrast checker → · Palette generator →

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