#7654BC#7654BC

#7654BC is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.157 H 295.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7654BC
RGBrgb(118, 84, 188)
HSLhsl(260, 44%, 53%)
HSVhsv(260, 55%, 74%)
CMYKcmyk(37.2%, 55.3%, 0%, 26.3%)
CIE-LABlab(43.98, 37.46, -50.06)
CIE-LCHlch(43.98, 62.52, 306.81°)
OKLaboklab(53.27% 0.0682 -0.1419)
OKLCHoklch(53.27% 0.157 295.7)
XYZxyz(19.7163, 13.8227, 49.1965)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BC #9ABC54
analogous
#5466BC #7654BC #AA54BC
triadic
#7654BC #BC7654 #54BC76
tetradic
#7654BC #BC5466 #9ABC54 #54BCAA
square
#7654BC #BC5466 #9ABC54 #54BCAA
split-complementary
#7654BC #BCAA54 #66BC54
monochromatic
#3F2A6B #593B97 #7654BC #9980CD #BCACDE

Accessibility & contrast

On white

5.58
#7654BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7654BC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BC#FFFFFF#000000##FFFFFF
##7654BC1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C0
Deuteranopia (green-blind)
#2F66BA
Tritanopia (blue-blind)
#656980
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654bc;
/* rgb */ color: rgb(118, 84, 188);
/* oklch */ color: oklch(53.3% 0.157 295.7);
Tailwind
colors: {
  custom: {
    50: '#a185d1',
    500: '#7654bc',
    950: '#000000',
  },
}
SCSS
$custom: #7654bc;
$custom-light: #a185d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7654bc",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 259.615,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.15748,
    "h": 295.7
  },
  "luminance": 0.13823
}

Semantic roles & 50–950 ramp

primary
#7654BC
secondary
#BECCA0
accent
#D354AA
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7654BC

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

Preview Lab → · Contrast checker → · Palette generator →

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