#7654DB#7654DB

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

Color values

HEX#7654DB
RGBrgb(118, 84, 219)
HSLhsl(255, 65%, 59%)
HSVhsv(255, 62%, 86%)
CMYKcmyk(46.1%, 61.6%, 0%, 14.1%)
CIE-LABlab(46.05, 46.02, -64.58)
CIE-LCHlch(46.05, 79.30, 305.48°)
OKLaboklab(55.45% 0.0675 -0.1846)
OKLCHoklch(55.45% 0.197 290.1)
XYZxyz(23.4241, 15.3058, 68.7242)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654DB #B9DB54
analogous
#5476DB #7654DB #B954DB
triadic
#7654DB #DB7654 #54DB76
tetradic
#7654DB #DB5476 #B9DB54 #54DBB9
square
#7654DB #DB5476 #B9DB54 #54DBB9
split-complementary
#7654DB #DBB954 #76DB54
monochromatic
#3D1F95 #522AC8 #7654DB #9F87E6 #C7B9F0

Accessibility & contrast

On white

5.17
#7654DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7654DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654DB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654DB#FFFFFF#000000##FFFFFF
##7654DB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#567390
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7654db;
/* rgb */ color: rgb(118, 84, 219);
/* oklch */ color: oklch(55.4% 0.197 290.1);
Tailwind
colors: {
  custom: {
    50: '#a586e7',
    500: '#7654db',
    950: '#000000',
  },
}
SCSS
$custom: #7654db;
$custom-light: #a586e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7654db",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 255.111,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55448,
    "c": 0.19657,
    "h": 290.1
  },
  "luminance": 0.15307
}

Semantic roles & 50–950 ramp

primary
#7654DB
secondary
#D2E0AB
accent
#E840BE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654DB

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

Preview Lab → · Contrast checker → · Palette generator →

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