#7654E5#7654E5

#7654E5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.209 H 288.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7654E5
RGBrgb(118, 84, 229)
HSLhsl(254, 74%, 61%)
HSVhsv(254, 63%, 90%)
CMYKcmyk(48.5%, 63.3%, 0%, 10.2%)
CIE-LABlab(46.77, 48.84, -69.08)
CIE-LCHlch(46.77, 84.60, 305.26°)
OKLaboklab(56.2% 0.0666 -0.1979)
OKLCHoklch(56.2% 0.209 288.6)
XYZxyz(24.7803, 15.8483, 75.8669)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E5 #C3E554
analogous
#547BE5 #7654E5 #BF54E5
triadic
#7654E5 #E57654 #54E576
tetradic
#7654E5 #E5547B #C3E554 #54E5BF
square
#7654E5 #E5547B #C3E554 #54E5BF
split-complementary
#7654E5 #E5BF54 #7BE554
monochromatic
#3A19A5 #4D21DB #7654E5 #A189ED #CBBEF5

Accessibility & contrast

On white

5.04
#7654E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7654E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E5
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E5#FFFFFF#000000##FFFFFF
##7654E51.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#507795
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7654e5;
/* rgb */ color: rgb(118, 84, 229);
/* oklch */ color: oklch(56.2% 0.209 288.6);
Tailwind
colors: {
  custom: {
    50: '#a686ee',
    500: '#7654e5',
    950: '#000000',
  },
}
SCSS
$custom: #7654e5;
$custom-light: #a686ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e5",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 254.069,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.56202,
    "c": 0.20878,
    "h": 288.6
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#7654E5
secondary
#D9E6AF
accent
#D610A7
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654E5

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

Preview Lab → · Contrast checker → · Palette generator →

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