#7654AE#7654AE

#7654AE is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.4% C 0.139 H 299.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7654AE
RGBrgb(118, 84, 174)
HSLhsl(263, 36%, 51%)
HSVhsv(263, 52%, 68%)
CMYKcmyk(32.2%, 51.7%, 0%, 31.8%)
CIE-LABlab(43.13, 33.72, -43.20)
CIE-LCHlch(43.13, 54.81, 307.97°)
OKLaboklab(52.37% 0.0674 -0.1218)
OKLCHoklch(52.37% 0.139 299)
XYZxyz(18.2797, 13.2480, 41.6303)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654AE #8CAE54
analogous
#545FAE #7654AE #A354AE
triadic
#7654AE #AE7654 #54AE76
tetradic
#7654AE #AE545F #8CAE54 #54AEA3
square
#7654AE #AE545F #8CAE54 #54AEA3
split-complementary
#7654AE #AEA354 #5FAE54
monochromatic
#3E2C5C #5A3F86 #7654AE #977EC2 #B9A7D5

Accessibility & contrast

On white

5.75
#7654AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7654AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654AE
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654AE#FFFFFF#000000##FFFFFF
##7654AE1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#6A6579
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7654ae;
/* rgb */ color: rgb(118, 84, 174);
/* oklch */ color: oklch(52.4% 0.139 299.0);
Tailwind
colors: {
  custom: {
    50: '#a085c7',
    500: '#7654ae',
    950: '#000000',
  },
}
SCSS
$custom: #7654ae;
$custom-light: #a085c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ae",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 262.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52372,
    "c": 0.13926,
    "h": 299
  },
  "luminance": 0.13248
}

Semantic roles & 50–950 ramp

primary
#7654AE
secondary
#B4C39B
accent
#CC5CA2
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7654AE

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

Preview Lab → · Contrast checker → · Palette generator →

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