#7654DA#7654DA

#7654DA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.195 H 290.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7654DA
RGBrgb(118, 84, 218)
HSLhsl(255, 64%, 59%)
HSVhsv(255, 61%, 85%)
CMYKcmyk(45.9%, 61.5%, 0%, 14.5%)
CIE-LABlab(45.98, 45.74, -64.12)
CIE-LCHlch(45.98, 78.77, 305.50°)
OKLaboklab(55.37% 0.0675 -0.1833)
OKLCHoklch(55.37% 0.195 290.2)
XYZxyz(23.2929, 15.2533, 68.0330)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654DA #B8DA54
analogous
#5475DA #7654DA #B954DA
triadic
#7654DA #DA7654 #54DA76
tetradic
#7654DA #DA5475 #B8DA54 #54DAB9
square
#7654DA #DA5475 #B8DA54 #54DAB9
split-complementary
#7654DA #DAB954 #75DA54
monochromatic
#3D2094 #522BC6 #7654DA #9E86E5 #C7B9F0

Accessibility & contrast

On white

5.18
#7654DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7654DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654DA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654DA#FFFFFF#000000##FFFFFF
##7654DA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#57738F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7654da;
/* rgb */ color: rgb(118, 84, 218);
/* oklch */ color: oklch(55.4% 0.195 290.2);
Tailwind
colors: {
  custom: {
    50: '#a586e6',
    500: '#7654da',
    950: '#000000',
  },
}
SCSS
$custom: #7654da;
$custom-light: #a586e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7654da",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 255.224,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55374,
    "c": 0.19534,
    "h": 290.2
  },
  "luminance": 0.15254
}

Semantic roles & 50–950 ramp

primary
#7654DA
secondary
#D2DFAB
accent
#E740BD
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654DA

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

Preview Lab → · Contrast checker → · Palette generator →

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