#7654BA#7654BA

#7654BA is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.1% C 0.155 H 296.1°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7654BA
RGBrgb(118, 84, 186)
HSLhsl(260, 43%, 53%)
HSVhsv(260, 55%, 73%)
CMYKcmyk(36.6%, 54.8%, 0%, 27.1%)
CIE-LABlab(43.85, 36.92, -49.09)
CIE-LCHlch(43.85, 61.42, 306.94°)
OKLaboklab(53.14% 0.0681 -0.1391)
OKLCHoklch(53.14% 0.155 296.1)
XYZxyz(19.5022, 13.7370, 48.0689)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654BA #98BA54
analogous
#5465BA #7654BA #A954BA
triadic
#7654BA #BA7654 #54BA76
tetradic
#7654BA #BA5465 #98BA54 #54BAA9
square
#7654BA #BA5465 #98BA54 #54BAA9
split-complementary
#7654BA #BAA954 #65BA54
monochromatic
#3F2A69 #5A3C95 #7654BA #9980CC #BCABDD

Accessibility & contrast

On white

5.60
#7654BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7654BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654BA
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654BA#FFFFFF#000000##FFFFFF
##7654BA1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2768BD
Deuteranopia (green-blind)
#3166B8
Tritanopia (blue-blind)
#66697F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7654ba;
/* rgb */ color: rgb(118, 84, 186);
/* oklch */ color: oklch(53.1% 0.155 296.1);
Tailwind
colors: {
  custom: {
    50: '#a185cf',
    500: '#7654ba',
    950: '#000000',
  },
}
SCSS
$custom: #7654ba;
$custom-light: #a185cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ba",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 260,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.15489,
    "h": 296.1
  },
  "luminance": 0.13737
}

Semantic roles & 50–950 ramp

primary
#7654BA
secondary
#BCCB9F
accent
#D256A9
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7654BA

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

Preview Lab → · Contrast checker → · Palette generator →

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