#7654E8#7654E8

#7654E8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.212 H 288.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7654E8
RGBrgb(118, 84, 232)
HSLhsl(254, 76%, 62%)
HSVhsv(254, 64%, 91%)
CMYKcmyk(49.1%, 63.8%, 0%, 9%)
CIE-LABlab(47.00, 49.68, -70.41)
CIE-LCHlch(47.00, 86.17, 305.21°)
OKLaboklab(56.43% 0.0664 -0.2018)
OKLCHoklch(56.43% 0.212 288.2)
XYZxyz(25.2028, 16.0173, 78.0920)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E8 #C6E854
analogous
#547CE8 #7654E8 #C054E8
triadic
#7654E8 #E87654 #54E876
tetradic
#7654E8 #E8547C #C6E854 #54E8C0
square
#7654E8 #E8547C #C6E854 #54E8C0
split-complementary
#7654E8 #E8C054 #7CE854
monochromatic
#3917AB #4B1EE1 #7654E8 #A18AEF #CCC0F7

Accessibility & contrast

On white

5.00
#7654E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7654E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E8#FFFFFF#000000##FFFFFF
##7654E81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006CE5
Tritanopia (blue-blind)
#4E7897
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7654e8;
/* rgb */ color: rgb(118, 84, 232);
/* oklch */ color: oklch(56.4% 0.212 288.2);
Tailwind
colors: {
  custom: {
    50: '#a686f0',
    500: '#7654e8',
    950: '#000000',
  },
}
SCSS
$custom: #7654e8;
$custom-light: #a686f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e8",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 253.784,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56433,
    "c": 0.21241,
    "h": 288.2
  },
  "luminance": 0.16018
}

Semantic roles & 50–950 ramp

primary
#7654E8
secondary
#DBE7B1
accent
#D80DAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7654E8

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

Preview Lab → · Contrast checker → · Palette generator →

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