#7654EA#7654EA

#7654EA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.6% C 0.215 H 287.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7654EA
RGBrgb(118, 84, 234)
HSLhsl(254, 78%, 62%)
HSVhsv(254, 64%, 92%)
CMYKcmyk(49.6%, 64.1%, 0%, 8.2%)
CIE-LABlab(47.15, 50.25, -71.29)
CIE-LCHlch(47.15, 87.22, 305.18°)
OKLaboklab(56.59% 0.0661 -0.2044)
OKLCHoklch(56.59% 0.215 287.9)
XYZxyz(25.4885, 16.1316, 79.5966)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654EA #C8EA54
analogous
#547DEA #7654EA #C154EA
triadic
#7654EA #EA7654 #54EA76
tetradic
#7654EA #EA547D #C8EA54 #54EAC1
square
#7654EA #EA547D #C8EA54 #54EAC1
split-complementary
#7654EA #EAC154 #7DEA54
monochromatic
#3815AE #4A1DE3 #7654EA #A28BF1 #CDC1F7

Accessibility & contrast

On white

4.97
#7654EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7654EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654EA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654EA#FFFFFF#000000##FFFFFF
##7654EA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#4D7998
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7654ea;
/* rgb */ color: rgb(118, 84, 234);
/* oklch */ color: oklch(56.6% 0.215 287.9);
Tailwind
colors: {
  custom: {
    50: '#a686f2',
    500: '#7654ea',
    950: '#000000',
  },
}
SCSS
$custom: #7654ea;
$custom-light: #a686f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ea",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 253.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.21482,
    "h": 287.9
  },
  "luminance": 0.16133
}

Semantic roles & 50–950 ramp

primary
#7654EA
secondary
#DCE8B2
accent
#DA0BAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7654EA

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

Preview Lab → · Contrast checker → · Palette generator →

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