#7654E4#7654E4

#7654E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.208 H 288.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7654E4
RGBrgb(118, 84, 228)
HSLhsl(254, 73%, 61%)
HSVhsv(254, 63%, 89%)
CMYKcmyk(48.2%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.70, 48.55, -68.63)
CIE-LCHlch(46.70, 84.07, 305.28°)
OKLaboklab(56.13% 0.0667 -0.1965)
OKLCHoklch(56.13% 0.208 288.8)
XYZxyz(24.6411, 15.7926, 75.1337)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E4 #C2E454
analogous
#547AE4 #7654E4 #BE54E4
triadic
#7654E4 #E47654 #54E476
tetradic
#7654E4 #E4547A #C2E454 #54E4BE
square
#7654E4 #E4547A #C2E454 #54E4BE
split-complementary
#7654E4 #E4BE54 #7AE454
monochromatic
#3A1AA4 #4D22D9 #7654E4 #A089EC #CBBEF5

Accessibility & contrast

On white

5.05
#7654E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#7654E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E4#FFFFFF#000000##FFFFFF
##7654E41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#517794
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7654e4;
/* rgb */ color: rgb(118, 84, 228);
/* oklch */ color: oklch(56.1% 0.208 288.8);
Tailwind
colors: {
  custom: {
    50: '#a686ed',
    500: '#7654e4',
    950: '#000000',
  },
}
SCSS
$custom: #7654e4;
$custom-light: #a686ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e4",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 254.167,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56126,
    "c": 0.20757,
    "h": 288.8
  },
  "luminance": 0.15794
}

Semantic roles & 50–950 ramp

primary
#7654E4
secondary
#D8E5AF
accent
#D511A7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654E4

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

Preview Lab → · Contrast checker → · Palette generator →

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