#7654DE#7654DE

#7654DE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.7% C 0.200 H 289.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7654DE
RGBrgb(118, 84, 222)
HSLhsl(255, 68%, 60%)
HSVhsv(255, 62%, 87%)
CMYKcmyk(46.8%, 62.2%, 0%, 12.9%)
CIE-LABlab(46.26, 46.87, -65.93)
CIE-LCHlch(46.26, 80.89, 305.40°)
OKLaboklab(55.67% 0.0673 -0.1886)
OKLCHoklch(55.67% 0.2 289.6)
XYZxyz(23.8226, 15.4652, 70.8229)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654DE #BCDE54
analogous
#5477DE #7654DE #BB54DE
triadic
#7654DE #DE7654 #54DE76
tetradic
#7654DE #DE5477 #BCDE54 #54DEBB
square
#7654DE #DE5477 #BCDE54 #54DEBB
split-complementary
#7654DE #DEBB54 #77DE54
monochromatic
#3C1E9A #5028CD #7654DE #9F87E8 #C8BBF2

Accessibility & contrast

On white

5.13
#7654DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7654DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654DE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654DE#FFFFFF#000000##FFFFFF
##7654DE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#006ADB
Tritanopia (blue-blind)
#557491
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7654de;
/* rgb */ color: rgb(118, 84, 222);
/* oklch */ color: oklch(55.7% 0.200 289.6);
Tailwind
colors: {
  custom: {
    50: '#a586e9',
    500: '#7654de',
    950: '#000000',
  },
}
SCSS
$custom: #7654de;
$custom-light: #a586e9;
$custom-dark: #000000;
JSON
{
  "hex": "#7654de",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 254.783,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.55672,
    "c": 0.20026,
    "h": 289.6
  },
  "luminance": 0.15466
}

Semantic roles & 50–950 ramp

primary
#7654DE
secondary
#D4E1AC
accent
#EB3DC0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654DE

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

Preview Lab → · Contrast checker → · Palette generator →

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