#7654FA#7654FA

#7654FA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.234 H 285.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7654FA
RGBrgb(118, 84, 250)
HSLhsl(252, 94%, 65%)
HSVhsv(252, 66%, 98%)
CMYKcmyk(52.8%, 66.4%, 0%, 2%)
CIE-LABlab(48.38, 54.78, -78.26)
CIE-LCHlch(48.38, 95.52, 304.99°)
OKLaboklab(57.86% 0.0642 -0.2248)
OKLCHoklch(57.86% 0.234 285.9)
XYZxyz(27.8917, 17.0928, 92.2535)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654FA #D8FA54
analogous
#5485FA #7654FA #C954FA
triadic
#7654FA #FA7654 #54FA76
tetradic
#7654FA #FA5485 #D8FA54 #54FAC9
square
#7654FA #FA5485 #D8FA54 #54FAC9
split-complementary
#7654FA #FAC954 #85FA54
monochromatic
#2F06CE #4619F8 #7654FA #A68FFC #D5CBFD

Accessibility & contrast

On white

4.75
#7654FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#7654FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654FA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654FA#FFFFFF#000000##FFFFFF
##7654FA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006EF7
Tritanopia (blue-blind)
#3F7EA0
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7654fa;
/* rgb */ color: rgb(118, 84, 250);
/* oklch */ color: oklch(57.9% 0.234 285.9);
Tailwind
colors: {
  custom: {
    50: '#a986fd',
    500: '#7654fa',
    950: '#000000',
  },
}
SCSS
$custom: #7654fa;
$custom-light: #a986fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7654fa",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 250
  },
  "hsl": {
    "h": 252.289,
    "s": 94.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.2338,
    "h": 285.9
  },
  "luminance": 0.17094
}

Semantic roles & 50–950 ramp

primary
#7654FA
secondary
#E5F1B9
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7654FA

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

Preview Lab → · Contrast checker → · Palette generator →

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