#7654E6#7654E6

#7654E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.3% C 0.210 H 288.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7654E6
RGBrgb(118, 84, 230)
HSLhsl(254, 74%, 62%)
HSVhsv(254, 63%, 90%)
CMYKcmyk(48.7%, 63.5%, 0%, 9.8%)
CIE-LABlab(46.85, 49.12, -69.52)
CIE-LCHlch(46.85, 85.12, 305.24°)
OKLaboklab(56.28% 0.0666 -0.1992)
OKLCHoklch(56.28% 0.21 288.5)
XYZxyz(24.9203, 15.9043, 76.6043)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E6 #C4E654
analogous
#547BE6 #7654E6 #BF54E6
triadic
#7654E6 #E67654 #54E676
tetradic
#7654E6 #E6547B #C4E654 #54E6BF
square
#7654E6 #E6547B #C4E654 #54E6BF
split-complementary
#7654E6 #E6BF54 #7BE654
monochromatic
#3A18A7 #4C20DD #7654E6 #A189EE #CCBFF6

Accessibility & contrast

On white

5.02
#7654E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7654E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E6#FFFFFF#000000##FFFFFF
##7654E61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#4F7795
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7654e6;
/* rgb */ color: rgb(118, 84, 230);
/* oklch */ color: oklch(56.3% 0.210 288.5);
Tailwind
colors: {
  custom: {
    50: '#a686ef',
    500: '#7654e6',
    950: '#000000',
  },
}
SCSS
$custom: #7654e6;
$custom-light: #a686ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e6",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 253.973,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.20999,
    "h": 288.5
  },
  "luminance": 0.15905
}

Semantic roles & 50–950 ramp

primary
#7654E6
secondary
#D9E6B0
accent
#D70FA8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7654E6

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

Preview Lab → · Contrast checker → · Palette generator →

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