#7654ED#7654ED

#7654ED is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.218 H 287.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7654ED
RGBrgb(118, 84, 237)
HSLhsl(253, 81%, 63%)
HSVhsv(253, 65%, 93%)
CMYKcmyk(50.2%, 64.6%, 0%, 7.1%)
CIE-LABlab(47.37, 51.10, -72.61)
CIE-LCHlch(47.37, 88.79, 305.13°)
OKLaboklab(56.82% 0.0658 -0.2083)
OKLCHoklch(56.82% 0.218 287.5)
XYZxyz(25.9231, 16.3054, 81.8857)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654ED #CBED54
analogous
#547FED #7654ED #C254ED
triadic
#7654ED #ED7654 #54ED76
tetradic
#7654ED #ED547F #CBED54 #54EDC2
square
#7654ED #ED547F #CBED54 #54EDC2
split-complementary
#7654ED #EDC254 #7FED54
monochromatic
#3713B4 #4A1DE7 #7654ED #A28BF3 #CFC3F9

Accessibility & contrast

On white

4.93
#7654ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7654ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654ED
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654ED#FFFFFF#000000##FFFFFF
##7654ED1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#4A7A99
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7654ed;
/* rgb */ color: rgb(118, 84, 237);
/* oklch */ color: oklch(56.8% 0.218 287.5);
Tailwind
colors: {
  custom: {
    50: '#a786f4',
    500: '#7654ed',
    950: '#000000',
  },
}
SCSS
$custom: #7654ed;
$custom-light: #a786f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ed",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 237
  },
  "hsl": {
    "h": 253.333,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.21841,
    "h": 287.5
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#7654ED
secondary
#DEEAB3
accent
#DD08AE
background
#FAF8FF
surface
#F5EFFE
border
#CFCAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7654ED

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

Preview Lab → · Contrast checker → · Palette generator →

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