#7654F7#7654F7

#7654F7 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.230 H 286.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7654F7
RGBrgb(118, 84, 247)
HSLhsl(253, 91%, 65%)
HSVhsv(253, 66%, 97%)
CMYKcmyk(52.2%, 66%, 0%, 3.1%)
CIE-LABlab(48.14, 53.93, -76.97)
CIE-LCHlch(48.14, 93.98, 305.02°)
OKLaboklab(57.62% 0.0646 -0.221)
OKLCHoklch(57.62% 0.23 286.3)
XYZxyz(27.4250, 16.9062, 89.7958)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654F7 #D5F754
analogous
#5484F7 #7654F7 #C754F7
triadic
#7654F7 #F77654 #54F776
tetradic
#7654F7 #F75484 #D5F754 #54F7C7
square
#7654F7 #F75484 #D5F754 #54F7C7
split-complementary
#7654F7 #F7C754 #84F754
monochromatic
#3109C7 #471AF4 #7654F7 #A58EFA #D4C9FC

Accessibility & contrast

On white

4.79
#7654F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7654F7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654F7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654F7#FFFFFF#000000##FFFFFF
##7654F71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FC
Deuteranopia (green-blind)
#006EF4
Tritanopia (blue-blind)
#427D9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7654f7;
/* rgb */ color: rgb(118, 84, 247);
/* oklch */ color: oklch(57.6% 0.230 286.3);
Tailwind
colors: {
  custom: {
    50: '#a886fb',
    500: '#7654f7',
    950: '#000000',
  },
}
SCSS
$custom: #7654f7;
$custom-light: #a886fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7654f7",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 247
  },
  "hsl": {
    "h": 252.515,
    "s": 91.061,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57616,
    "c": 0.23029,
    "h": 286.3
  },
  "luminance": 0.16908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7654F7

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

Preview Lab → · Contrast checker → · Palette generator →

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