#7654AC#7654AC

#7654AC is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.2% C 0.137 H 299.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#7654AC
RGBrgb(118, 84, 172)
HSLhsl(263, 35%, 50%)
HSVhsv(263, 51%, 67%)
CMYKcmyk(31.4%, 51.2%, 0%, 32.5%)
CIE-LABlab(43.02, 33.20, -42.21)
CIE-LCHlch(43.02, 53.70, 308.18°)
OKLaboklab(52.25% 0.0673 -0.1189)
OKLCHoklch(52.25% 0.137 299.5)
XYZxyz(18.0862, 13.1706, 40.6111)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654AC #8AAC54
analogous
#545EAC #7654AC #A254AC
triadic
#7654AC #AC7654 #54AC76
tetradic
#7654AC #AC545E #8AAC54 #54ACA2
square
#7654AC #AC545E #8AAC54 #54ACA2
split-complementary
#7654AC #ACA254 #5EAC54
monochromatic
#3E2C5A #5A4083 #7654AC #977DC0 #B8A6D4

Accessibility & contrast

On white

5.78
#7654AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7654AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654AC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654AC#FFFFFF#000000##FFFFFF
##7654AC1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AF
Deuteranopia (green-blind)
#3E65AA
Tritanopia (blue-blind)
#6B6578
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7654ac;
/* rgb */ color: rgb(118, 84, 172);
/* oklch */ color: oklch(52.2% 0.137 299.5);
Tailwind
colors: {
  custom: {
    50: '#a085c5',
    500: '#7654ac',
    950: '#000000',
  },
}
SCSS
$custom: #7654ac;
$custom-light: #a085c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ac",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 263.182,
    "s": 34.646,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.13664,
    "h": 299.5
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#7654AC
secondary
#B2C29A
accent
#CB5DA0
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7654AC

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

Preview Lab → · Contrast checker → · Palette generator →

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