#7654CE#7654CE

#7654CE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.5% C 0.180 H 292.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7654CE
RGBrgb(118, 84, 206)
HSLhsl(257, 55%, 57%)
HSVhsv(257, 59%, 81%)
CMYKcmyk(42.7%, 59.2%, 0%, 19.2%)
CIE-LABlab(45.15, 42.40, -58.60)
CIE-LCHlch(45.15, 72.32, 305.89°)
OKLaboklab(54.5% 0.0681 -0.167)
OKLCHoklch(54.5% 0.18 292.2)
XYZxyz(21.7791, 14.6478, 60.0604)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654CE #ACCE54
analogous
#546FCE #7654CE #B354CE
triadic
#7654CE #CE7654 #54CE76
tetradic
#7654CE #CE546F #ACCE54 #54CEB3
square
#7654CE #CE546F #ACCE54 #54CEB3
split-complementary
#7654CE #CEB354 #6FCE54
monochromatic
#3F2582 #5633B2 #7654CE #9C84DC #C2B3E9

Accessibility & contrast

On white

5.34
#7654CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7654CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654CE#FFFFFF#000000##FFFFFF
##7654CE1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0768CB
Tritanopia (blue-blind)
#5D6F89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7654ce;
/* rgb */ color: rgb(118, 84, 206);
/* oklch */ color: oklch(54.5% 0.180 292.2);
Tailwind
colors: {
  custom: {
    50: '#a385de',
    500: '#7654ce',
    950: '#000000',
  },
}
SCSS
$custom: #7654ce;
$custom-light: #a385de;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ce",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 256.721,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.54503,
    "c": 0.1804,
    "h": 292.2
  },
  "luminance": 0.14648
}

Semantic roles & 50–950 ramp

primary
#7654CE
secondary
#CAD8A6
accent
#DF49B5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7654CE

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

Preview Lab → · Contrast checker → · Palette generator →

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