#7654CD#7654CD

#7654CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.179 H 292.4°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#7654CD
RGBrgb(118, 84, 205)
HSLhsl(257, 55%, 57%)
HSVhsv(257, 59%, 80%)
CMYKcmyk(42.4%, 59%, 0%, 19.6%)
CIE-LABlab(45.08, 42.12, -58.13)
CIE-LCHlch(45.08, 71.78, 305.93°)
OKLaboklab(54.43% 0.0682 -0.1657)
OKLCHoklch(54.43% 0.179 292.4)
XYZxyz(21.6580, 14.5993, 59.4226)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654CD #ABCD54
analogous
#546FCD #7654CD #B354CD
triadic
#7654CD #CD7654 #54CD76
tetradic
#7654CD #CD546F #ABCD54 #54CDB3
square
#7654CD #CD546F #ABCD54 #54CDB3
split-complementary
#7654CD #CDB354 #6FCD54
monochromatic
#3F2681 #5734B0 #7654CD #9C83DB #C2B3E9

Accessibility & contrast

On white

5.36
#7654CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7654CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654CD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654CD#FFFFFF#000000##FFFFFF
##7654CD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0C68CA
Tritanopia (blue-blind)
#5E6F88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7654cd;
/* rgb */ color: rgb(118, 84, 205);
/* oklch */ color: oklch(54.4% 0.179 292.4);
Tailwind
colors: {
  custom: {
    50: '#a385dd',
    500: '#7654cd',
    950: '#000000',
  },
}
SCSS
$custom: #7654cd;
$custom-light: #a385dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7654cd",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 256.86,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54432,
    "c": 0.17915,
    "h": 292.4
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#7654CD
secondary
#C9D7A6
accent
#DE4AB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7654CD

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

Preview Lab → · Contrast checker → · Palette generator →

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