#7654BD#7654BD

#7654BD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.159 H 295.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7654BD
RGBrgb(118, 84, 189)
HSLhsl(259, 44%, 54%)
HSVhsv(259, 56%, 74%)
CMYKcmyk(37.6%, 55.6%, 0%, 25.9%)
CIE-LABlab(44.04, 37.73, -50.54)
CIE-LCHlch(44.04, 63.07, 306.74°)
OKLaboklab(53.34% 0.0682 -0.1434)
OKLCHoklch(53.34% 0.159 295.4)
XYZxyz(19.8245, 13.8659, 49.7662)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BD #9BBD54
analogous
#5466BD #7654BD #AB54BD
triadic
#7654BD #BD7654 #54BD76
tetradic
#7654BD #BD5466 #9BBD54 #54BDAB
square
#7654BD #BD5466 #9BBD54 #54BDAB
split-complementary
#7654BD #BDAB54 #66BD54
monochromatic
#402A6D #593B99 #7654BD #9980CE #BDACDF

Accessibility & contrast

On white

5.57
#7654BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7654BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BD#FFFFFF#000000##FFFFFF
##7654BD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2369C1
Deuteranopia (green-blind)
#2E67BB
Tritanopia (blue-blind)
#656A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654bd;
/* rgb */ color: rgb(118, 84, 189);
/* oklch */ color: oklch(53.3% 0.159 295.4);
Tailwind
colors: {
  custom: {
    50: '#a285d1',
    500: '#7654bd',
    950: '#000000',
  },
}
SCSS
$custom: #7654bd;
$custom-light: #a285d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7654bd",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 259.429,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53335,
    "c": 0.15877,
    "h": 295.4
  },
  "luminance": 0.13866
}

Semantic roles & 50–950 ramp

primary
#7654BD
secondary
#BECDA0
accent
#D454AA
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7654BD

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

Preview Lab → · Contrast checker → · Palette generator →

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