#7654AD#7654AD

#7654AD is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.3% C 0.138 H 299.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7654AD
RGBrgb(118, 84, 173)
HSLhsl(263, 35%, 50%)
HSVhsv(263, 51%, 68%)
CMYKcmyk(31.8%, 51.4%, 0%, 32.2%)
CIE-LABlab(43.08, 33.46, -42.71)
CIE-LCHlch(43.08, 54.25, 308.08°)
OKLaboklab(52.31% 0.0673 -0.1204)
OKLCHoklch(52.31% 0.138 299.2)
XYZxyz(18.1826, 13.2092, 41.1188)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654AD #8BAD54
analogous
#545EAD #7654AD #A254AD
triadic
#7654AD #AD7654 #54AD76
tetradic
#7654AD #AD545E #8BAD54 #54ADA2
square
#7654AD #AD545E #8BAD54 #54ADA2
split-complementary
#7654AD #ADA254 #5EAD54
monochromatic
#3E2C5B #5A3F84 #7654AD #977DC1 #B8A7D5

Accessibility & contrast

On white

5.77
#7654AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7654AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654AD
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654AD#FFFFFF#000000##FFFFFF
##7654AD1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3566B0
Deuteranopia (green-blind)
#3E65AB
Tritanopia (blue-blind)
#6B6578
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7654ad;
/* rgb */ color: rgb(118, 84, 173);
/* oklch */ color: oklch(52.3% 0.138 299.2);
Tailwind
colors: {
  custom: {
    50: '#a085c6',
    500: '#7654ad',
    950: '#000000',
  },
}
SCSS
$custom: #7654ad;
$custom-light: #a085c6;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ad",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 173
  },
  "hsl": {
    "h": 262.921,
    "s": 35.178,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5231,
    "c": 0.13795,
    "h": 299.2
  },
  "luminance": 0.13209
}

Semantic roles & 50–950 ramp

primary
#7654AD
secondary
#B3C29B
accent
#CB5DA1
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7654AD

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

Preview Lab → · Contrast checker → · Palette generator →

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