#7654E3#7654E3

#7654E3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.206 H 288.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7654E3
RGBrgb(118, 84, 227)
HSLhsl(254, 72%, 61%)
HSVhsv(254, 63%, 89%)
CMYKcmyk(48%, 63%, 0%, 11%)
CIE-LABlab(46.63, 48.27, -68.18)
CIE-LCHlch(46.63, 83.54, 305.30°)
OKLaboklab(56.05% 0.0668 -0.1952)
OKLCHoklch(56.05% 0.206 288.9)
XYZxyz(24.5027, 15.7372, 74.4047)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E3 #C1E354
analogous
#5479E3 #7654E3 #BD54E3
triadic
#7654E3 #E37654 #54E376
tetradic
#7654E3 #E35479 #C1E354 #54E3BD
square
#7654E3 #E35479 #C1E354 #54E3BD
split-complementary
#7654E3 #E3BD54 #79E354
monochromatic
#3B1BA2 #4E23D7 #7654E3 #A089EC #CABDF4

Accessibility & contrast

On white

5.06
#7654E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7654E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E3#FFFFFF#000000##FFFFFF
##7654E31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#517694
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7654e3;
/* rgb */ color: rgb(118, 84, 227);
/* oklch */ color: oklch(56.0% 0.206 288.9);
Tailwind
colors: {
  custom: {
    50: '#a686ed',
    500: '#7654e3',
    950: '#000000',
  },
}
SCSS
$custom: #7654e3;
$custom-light: #a686ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e3",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 227
  },
  "hsl": {
    "h": 254.266,
    "s": 71.859,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5605,
    "c": 0.20635,
    "h": 288.9
  },
  "luminance": 0.15738
}

Semantic roles & 50–950 ramp

primary
#7654E3
secondary
#D8E4AE
accent
#D412A6
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654E3

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

Preview Lab → · Contrast checker → · Palette generator →

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