#654EA0#654EA0

#654EA0 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.7% C 0.128 H 294.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#654EA0
RGBrgb(101, 78, 160)
HSLhsl(257, 34%, 47%)
HSVhsv(257, 51%, 63%)
CMYKcmyk(36.9%, 51.2%, 0%, 37.3%)
CIE-LABlab(39.16, 29.00, -41.33)
CIE-LCHlch(39.16, 50.49, 305.05°)
OKLaboklab(48.74% 0.0522 -0.1168)
OKLCHoklch(48.74% 0.128 294.1)
XYZxyz(14.4347, 10.7533, 34.5660)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA0 #89A04E
analogous
#4E60A0 #654EA0 #8E4EA0
triadic
#654EA0 #A0654E #4EA065
tetradic
#654EA0 #A04E60 #89A04E #4EA08E
square
#654EA0 #A04E60 #89A04E #4EA08E
split-complementary
#654EA0 #A08E4E #60A04E
monochromatic
#31264E #4B3A77 #654EA0 #8671BA #A99ACE

Accessibility & contrast

On white

6.66
#654EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#654EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EA0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA0#FFFFFF#000000##FFFFFF
##654EA01.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5DA3
Deuteranopia (green-blind)
#335B9E
Tritanopia (blue-blind)
#575E6F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #654ea0;
/* rgb */ color: rgb(101, 78, 160);
/* oklch */ color: oklch(48.7% 0.128 294.1);
Tailwind
colors: {
  custom: {
    50: '#9480bc',
    500: '#654ea0',
    950: '#000000',
  },
}
SCSS
$custom: #654ea0;
$custom-light: #9480bc;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea0",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 256.829,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48741,
    "c": 0.12797,
    "h": 294.1
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#654EA0
secondary
#AEBB8F
accent
#CB5DAC
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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