#654EA6#654EA6

#654EA6 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.1% C 0.136 H 292.7°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#654EA6
RGBrgb(101, 78, 166)
HSLhsl(256, 36%, 48%)
HSVhsv(256, 53%, 65%)
CMYKcmyk(39.2%, 53%, 0%, 34.9%)
CIE-LABlab(39.53, 30.69, -44.33)
CIE-LCHlch(39.53, 53.92, 304.70°)
OKLaboklab(49.13% 0.0526 -0.1256)
OKLCHoklch(49.13% 0.136 292.7)
XYZxyz(14.9723, 10.9683, 37.3972)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA6 #8FA64E
analogous
#4E63A6 #654EA6 #914EA6
triadic
#654EA6 #A6654E #4EA665
tetradic
#654EA6 #A64E63 #8FA64E #4EA691
square
#654EA6 #A64E63 #8FA64E #4EA691
split-complementary
#654EA6 #A6914E #63A64E
monochromatic
#322753 #4C3A7C #654EA6 #8774BE #AB9DD1

Accessibility & contrast

On white

6.58
#654EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#654EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EA6
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA6#FFFFFF#000000##FFFFFF
##654EA61.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295EA9
Deuteranopia (green-blind)
#2D5BA4
Tritanopia (blue-blind)
#546072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ea6;
/* rgb */ color: rgb(101, 78, 166);
/* oklch */ color: oklch(49.1% 0.136 292.7);
Tailwind
colors: {
  custom: {
    50: '#9580c1',
    500: '#654ea6',
    950: '#000000',
  },
}
SCSS
$custom: #654ea6;
$custom-light: #9580c1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea6",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 255.682,
    "s": 36.066,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49131,
    "c": 0.13622,
    "h": 292.7
  },
  "luminance": 0.10969
}

Semantic roles & 50–950 ramp

primary
#654EA6
secondary
#B2BE92
accent
#CC5CAF
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654EA6

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

Preview Lab → · Contrast checker → · Palette generator →

#654EA6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva