#7654E0#7654E0

#7654E0 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.8% C 0.203 H 289.3°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7654E0
RGBrgb(118, 84, 224)
HSLhsl(255, 69%, 60%)
HSVhsv(255, 63%, 88%)
CMYKcmyk(47.3%, 62.5%, 0%, 12.2%)
CIE-LABlab(46.41, 47.43, -66.84)
CIE-LCHlch(46.41, 81.95, 305.36°)
OKLaboklab(55.82% 0.0671 -0.1913)
OKLCHoklch(55.82% 0.203 289.3)
XYZxyz(24.0922, 15.5731, 72.2430)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654E0 #BEE054
analogous
#5478E0 #7654E0 #BC54E0
triadic
#7654E0 #E07654 #54E076
tetradic
#7654E0 #E05478 #BEE054 #54E0BC
square
#7654E0 #E05478 #BEE054 #54E0BC
split-complementary
#7654E0 #E0BC54 #78E054
monochromatic
#3C1C9D #4F26D1 #7654E0 #A088E9 #C9BCF3

Accessibility & contrast

On white

5.10
#7654E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7654E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654E0
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654E0#FFFFFF#000000##FFFFFF
##7654E01.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E4
Deuteranopia (green-blind)
#006BDD
Tritanopia (blue-blind)
#537592
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7654e0;
/* rgb */ color: rgb(118, 84, 224);
/* oklch */ color: oklch(55.8% 0.203 289.3);
Tailwind
colors: {
  custom: {
    50: '#a586eb',
    500: '#7654e0',
    950: '#000000',
  },
}
SCSS
$custom: #7654e0;
$custom-light: #a586eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7654e0",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 224
  },
  "hsl": {
    "h": 254.571,
    "s": 69.307,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55822,
    "c": 0.2027,
    "h": 289.3
  },
  "luminance": 0.15574
}

Semantic roles & 50–950 ramp

primary
#7654E0
secondary
#D6E3AD
accent
#D114A3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7654E0

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

Preview Lab → · Contrast checker → · Palette generator →

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