#7654D3#7654D3

#7654D3 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.187 H 291.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7654D3
RGBrgb(118, 84, 211)
HSLhsl(256, 59%, 58%)
HSVhsv(256, 60%, 83%)
CMYKcmyk(44.1%, 60.2%, 0%, 17.3%)
CIE-LABlab(45.49, 43.79, -60.91)
CIE-LCHlch(45.49, 75.02, 305.71°)
OKLaboklab(54.86% 0.0679 -0.1739)
OKLCHoklch(54.86% 0.187 291.3)
XYZxyz(22.3961, 14.8946, 63.3103)
Luminance0.1489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7654D3 #B1D354
analogous
#5471D3 #7654D3 #B554D3
triadic
#7654D3 #D37654 #54D376
tetradic
#7654D3 #D35471 #B1D354 #54D3B5
square
#7654D3 #D35471 #B1D354 #54D3B5
split-complementary
#7654D3 #D3B554 #71D354
monochromatic
#3F2389 #5530BA #7654D3 #9D85E0 #C4B5EC

Accessibility & contrast

On white

5.28
#7654D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7654D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7654D3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7654D3#FFFFFF#000000##FFFFFF
##7654D31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#5B718B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7654d3;
/* rgb */ color: rgb(118, 84, 211);
/* oklch */ color: oklch(54.9% 0.187 291.3);
Tailwind
colors: {
  custom: {
    50: '#a485e1',
    500: '#7654d3',
    950: '#000000',
  },
}
SCSS
$custom: #7654d3;
$custom-light: #a485e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7654d3",
  "rgb": {
    "r": 118,
    "g": 84,
    "b": 211
  },
  "hsl": {
    "h": 256.063,
    "s": 59.07,
    "l": 57.843
  },
  "oklch": {
    "l": 0.54862,
    "c": 0.18666,
    "h": 291.3
  },
  "luminance": 0.14895
}

Semantic roles & 50–950 ramp

primary
#7654D3
secondary
#CDDBA8
accent
#E246B8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7654D3

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

Preview Lab → · Contrast checker → · Palette generator →

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