#7654BB#7654BB

#7654BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.2% C 0.156 H 295.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7654BB
RGBrgb(118, 84, 187)
HSLhsl(260, 43%, 53%)
HSVhsv(260, 55%, 73%)
CMYKcmyk(36.9%, 55.1%, 0%, 26.7%)
CIE-LABlab(43.92, 37.19, -49.58)
CIE-LCHlch(43.92, 61.97, 306.87°)
OKLaboklab(53.2% 0.0682 -0.1405)
OKLCHoklch(53.2% 0.156 295.9)
XYZxyz(19.6089, 13.7797, 48.6307)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BB #99BB54
analogous
#5465BB #7654BB #A954BB
triadic
#7654BB #BB7654 #54BB76
tetradic
#7654BB #BB5465 #99BB54 #54BBA9
square
#7654BB #BB5465 #99BB54 #54BBA9
split-complementary
#7654BB #BBA954 #65BB54
monochromatic
#3F2A6A #5A3C96 #7654BB #9980CC #BCACDE

Accessibility & contrast

On white

5.59
#7654BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7654BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BB#FFFFFF#000000##FFFFFF
##7654BB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2668BE
Deuteranopia (green-blind)
#3066B9
Tritanopia (blue-blind)
#66697F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654bb;
/* rgb */ color: rgb(118, 84, 187);
/* oklch */ color: oklch(53.2% 0.156 295.9);
Tailwind
colors: {
  custom: {
    50: '#a185d0',
    500: '#7654bb',
    950: '#000000',
  },
}
SCSS
$custom: #7654bb;
$custom-light: #a185d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7654bb",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 259.806,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53203,
    "c": 0.15619,
    "h": 295.9
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#7654BB
secondary
#BDCC9F
accent
#D355A9
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7654BB

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

Preview Lab → · Contrast checker → · Palette generator →

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