#7654FF#7654FF

#7654FF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.240 H 285.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7654FF
RGBrgb(118, 84, 255)
HSLhsl(252, 100%, 66%)
HSVhsv(252, 67%, 100%)
CMYKcmyk(53.7%, 67.1%, 0%, 0%)
CIE-LABlab(48.77, 56.19, -80.39)
CIE-LCHlch(48.77, 98.08, 304.95°)
OKLaboklab(58.27% 0.0634 -0.2311)
OKLCHoklch(58.27% 0.24 285.3)
XYZxyz(28.6861, 17.4106, 96.4374)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654FF #DDFF54
analogous
#5488FF #7654FF #CC54FF
triadic
#7654FF #FF7654 #54FF76
tetradic
#7654FF #FF5488 #DDFF54 #54FFCC
square
#7654FF #FF5488 #DDFF54 #54FFCC
split-complementary
#7654FF #FFCC54 #88FF54
monochromatic
#2B00D9 #4517FF #7654FF #A791FF #D8CEFF

Accessibility & contrast

On white

4.68
#7654FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7654FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654FF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654FF#FFFFFF#000000##FFFFFF
##7654FF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006FFC
Tritanopia (blue-blind)
#3A80A3
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7654ff;
/* rgb */ color: rgb(118, 84, 255);
/* oklch */ color: oklch(58.3% 0.240 285.3);
Tailwind
colors: {
  custom: {
    50: '#a987ff',
    500: '#7654ff',
    950: '#000000',
  },
}
SCSS
$custom: #7654ff;
$custom-light: #a987ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7654ff",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 255
  },
  "hsl": {
    "h": 251.93,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.23965,
    "h": 285.3
  },
  "luminance": 0.17412
}

Semantic roles & 50–950 ramp

primary
#7654FF
secondary
#E8F3BC
accent
#E600B8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7654FF

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

Preview Lab → · Contrast checker → · Palette generator →

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