#7654E1#7654E1

#7654E1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.9% C 0.204 H 289.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7654E1
RGBrgb(118, 84, 225)
HSLhsl(254, 70%, 61%)
HSVhsv(254, 63%, 88%)
CMYKcmyk(47.6%, 62.7%, 0%, 11.8%)
CIE-LABlab(46.48, 47.71, -67.29)
CIE-LCHlch(46.48, 82.48, 305.34°)
OKLaboklab(55.9% 0.067 -0.1926)
OKLCHoklch(55.9% 0.204 289.2)
XYZxyz(24.2282, 15.6275, 72.9594)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E1 #BFE154
analogous
#5478E1 #7654E1 #BC54E1
triadic
#7654E1 #E17654 #54E176
tetradic
#7654E1 #E15478 #BFE154 #54E1BC
square
#7654E1 #E15478 #BFE154 #54E1BC
split-complementary
#7654E1 #E1BC54 #78E154
monochromatic
#3B1C9F #4F25D3 #7654E1 #A088EA #C9BCF3

Accessibility & contrast

On white

5.09
#7654E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7654E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E1
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E1#FFFFFF#000000##FFFFFF
##7654E11.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#006BDE
Tritanopia (blue-blind)
#537593
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7654e1;
/* rgb */ color: rgb(118, 84, 225);
/* oklch */ color: oklch(55.9% 0.204 289.2);
Tailwind
colors: {
  custom: {
    50: '#a586eb',
    500: '#7654e1',
    950: '#000000',
  },
}
SCSS
$custom: #7654e1;
$custom-light: #a586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e1",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 225
  },
  "hsl": {
    "h": 254.468,
    "s": 70.149,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55898,
    "c": 0.20392,
    "h": 289.2
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#7654E1
secondary
#D6E3AE
accent
#D213A4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654E1

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

Preview Lab → · Contrast checker → · Palette generator →

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