#7654CF#7654CF

#7654CF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.182 H 292.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#7654CF
RGBrgb(118, 84, 207)
HSLhsl(257, 56%, 57%)
HSVhsv(257, 59%, 81%)
CMYKcmyk(43%, 59.4%, 0%, 18.8%)
CIE-LABlab(45.22, 42.67, -59.06)
CIE-LCHlch(45.22, 72.86, 305.85°)
OKLaboklab(54.57% 0.0681 -0.1684)
OKLCHoklch(54.57% 0.182 292)
XYZxyz(21.9009, 14.6965, 60.7022)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654CF #ADCF54
analogous
#5470CF #7654CF #B354CF
triadic
#7654CF #CF7654 #54CF76
tetradic
#7654CF #CF5470 #ADCF54 #54CFB3
square
#7654CF #CF5470 #ADCF54 #54CFB3
split-complementary
#7654CF #CFB354 #70CF54
monochromatic
#3F2584 #5632B3 #7654CF #9C84DC #C3B4EA

Accessibility & contrast

On white

5.33
#7654CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7654CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654CF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654CF#FFFFFF#000000##FFFFFF
##7654CF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0269CC
Tritanopia (blue-blind)
#5D6F89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7654cf;
/* rgb */ color: rgb(118, 84, 207);
/* oklch */ color: oklch(54.6% 0.182 292.0);
Tailwind
colors: {
  custom: {
    50: '#a385de',
    500: '#7654cf',
    950: '#000000',
  },
}
SCSS
$custom: #7654cf;
$custom-light: #a385de;
$custom-dark: #000000;
JSON
{
  "hex": "#7654cf",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 256.585,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54574,
    "c": 0.18166,
    "h": 292
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#7654CF
secondary
#CBD8A6
accent
#DF48B6
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7654CF

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

Preview Lab → · Contrast checker → · Palette generator →

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