#7654B0#7654B0

#7654B0 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.5% C 0.142 H 298.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7654B0
RGBrgb(118, 84, 176)
HSLhsl(262, 37%, 51%)
HSVhsv(262, 52%, 69%)
CMYKcmyk(33%, 52.3%, 0%, 31%)
CIE-LABlab(43.25, 34.25, -44.20)
CIE-LCHlch(43.25, 55.91, 307.77°)
OKLaboklab(52.5% 0.0676 -0.1247)
OKLCHoklch(52.5% 0.142 298.4)
XYZxyz(18.4761, 13.3266, 42.6648)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654B0 #8EB054
analogous
#5460B0 #7654B0 #A454B0
triadic
#7654B0 #B07654 #54B076
tetradic
#7654B0 #B05460 #8EB054 #54B0A4
square
#7654B0 #B05460 #8EB054 #54B0A4
split-complementary
#7654B0 #B0A454 #60B054
monochromatic
#3E2B5E #5A3F88 #7654B0 #987EC3 #B9A8D7

Accessibility & contrast

On white

5.73
#7654B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7654B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654B0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654B0#FFFFFF#000000##FFFFFF
##7654B01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#3B65AE
Tritanopia (blue-blind)
#6A667A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7654b0;
/* rgb */ color: rgb(118, 84, 176);
/* oklch */ color: oklch(52.5% 0.142 298.4);
Tailwind
colors: {
  custom: {
    50: '#a085c8',
    500: '#7654b0',
    950: '#000000',
  },
}
SCSS
$custom: #7654b0;
$custom-light: #a085c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7654b0",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 262.174,
    "s": 36.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52497,
    "c": 0.14188,
    "h": 298.4
  },
  "luminance": 0.13327
}

Semantic roles & 50–950 ramp

primary
#7654B0
secondary
#B5C49C
accent
#CD5BA3
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7654B0

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

Preview Lab → · Contrast checker → · Palette generator →

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