#7654E7#7654E7

#7654E7 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.211 H 288.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7654E7
RGBrgb(118, 84, 231)
HSLhsl(254, 75%, 62%)
HSVhsv(254, 64%, 91%)
CMYKcmyk(48.9%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.92, 49.40, -69.97)
CIE-LCHlch(46.92, 85.65, 305.23°)
OKLaboklab(56.36% 0.0665 -0.2005)
OKLCHoklch(56.36% 0.211 288.3)
XYZxyz(25.0612, 15.9606, 77.3460)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E7 #C5E754
analogous
#547BE7 #7654E7 #C054E7
triadic
#7654E7 #E77654 #54E776
tetradic
#7654E7 #E7547B #C5E754 #54E7C0
square
#7654E7 #E7547B #C5E754 #54E7C0
split-complementary
#7654E7 #E7C054 #7BE754
monochromatic
#3918A9 #4B1FDF #7654E7 #A18AEF #CCBFF6

Accessibility & contrast

On white

5.01
#7654E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7654E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E7
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E7#FFFFFF#000000##FFFFFF
##7654E71.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#4F7896
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7654e7;
/* rgb */ color: rgb(118, 84, 231);
/* oklch */ color: oklch(56.4% 0.211 288.3);
Tailwind
colors: {
  custom: {
    50: '#a686f0',
    500: '#7654e7',
    950: '#000000',
  },
}
SCSS
$custom: #7654e7;
$custom-light: #a686f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e7",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 253.878,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56356,
    "c": 0.21121,
    "h": 288.3
  },
  "luminance": 0.15962
}

Semantic roles & 50–950 ramp

primary
#7654E7
secondary
#DAE7B0
accent
#D80EA9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7654E7

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

Preview Lab → · Contrast checker → · Palette generator →

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