#7654DD#7654DD

#7654DD is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.199 H 289.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7654DD
RGBrgb(118, 84, 221)
HSLhsl(255, 67%, 60%)
HSVhsv(255, 62%, 87%)
CMYKcmyk(46.6%, 62%, 0%, 13.3%)
CIE-LABlab(46.19, 46.59, -65.48)
CIE-LCHlch(46.19, 80.36, 305.43°)
OKLaboklab(55.6% 0.0673 -0.1873)
OKLCHoklch(55.6% 0.199 289.8)
XYZxyz(23.6890, 15.4117, 70.1192)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654DD #BBDD54
analogous
#5476DD #7654DD #BB54DD
triadic
#7654DD #DD7654 #54DD76
tetradic
#7654DD #DD5476 #BBDD54 #54DDBB
square
#7654DD #DD5476 #BBDD54 #54DDBB
split-complementary
#7654DD #DDBB54 #76DD54
monochromatic
#3D1E98 #5128CB #7654DD #9F87E7 #C8BAF1

Accessibility & contrast

On white

5.14
#7654DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7654DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654DD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654DD#FFFFFF#000000##FFFFFF
##7654DD1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#557491
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7654dd;
/* rgb */ color: rgb(118, 84, 221);
/* oklch */ color: oklch(55.6% 0.199 289.8);
Tailwind
colors: {
  custom: {
    50: '#a586e8',
    500: '#7654dd',
    950: '#000000',
  },
}
SCSS
$custom: #7654dd;
$custom-light: #a586e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7654dd",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 254.891,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55597,
    "c": 0.19903,
    "h": 289.8
  },
  "luminance": 0.15413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7654DD

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

Preview Lab → · Contrast checker → · Palette generator →

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