#7654BF#7654BF

#7654BF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.5% C 0.161 H 295.0°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7654BF
RGBrgb(118, 84, 191)
HSLhsl(259, 46%, 54%)
HSVhsv(259, 56%, 75%)
CMYKcmyk(38.2%, 56%, 0%, 25.1%)
CIE-LABlab(44.17, 38.27, -51.50)
CIE-LCHlch(44.17, 64.17, 306.62°)
OKLaboklab(53.47% 0.0683 -0.1462)
OKLCHoklch(53.47% 0.161 295)
XYZxyz(20.0431, 13.9534, 50.9174)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BF #9DBF54
analogous
#5468BF #7654BF #AC54BF
triadic
#7654BF #BF7654 #54BF76
tetradic
#7654BF #BF5468 #9DBF54 #54BFAC
square
#7654BF #BF5468 #9DBF54 #54BFAC
split-complementary
#7654BF #BFAC54 #68BF54
monochromatic
#402A6F #593A9C #7654BF #9A81D0 #BDADE0

Accessibility & contrast

On white

5.54
#7654BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7654BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654BF
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BF#FFFFFF#000000##FFFFFF
##7654BF1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#2B67BD
Tritanopia (blue-blind)
#646A81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654bf;
/* rgb */ color: rgb(118, 84, 191);
/* oklch */ color: oklch(53.5% 0.161 295.0);
Tailwind
colors: {
  custom: {
    50: '#a285d3',
    500: '#7654bf',
    950: '#000000',
  },
}
SCSS
$custom: #7654bf;
$custom-light: #a285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7654bf",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 191
  },
  "hsl": {
    "h": 259.065,
    "s": 45.532,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53468,
    "c": 0.16134,
    "h": 295
  },
  "luminance": 0.13954
}

Semantic roles & 50–950 ramp

primary
#7654BF
secondary
#C0CEA1
accent
#D553AC
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7654BF

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

Preview Lab → · Contrast checker → · Palette generator →

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