#654EA5#654EA5

#654EA5 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.1% C 0.135 H 292.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#654EA5
RGBrgb(101, 78, 165)
HSLhsl(256, 36%, 48%)
HSVhsv(256, 53%, 65%)
CMYKcmyk(38.8%, 52.7%, 0%, 35.3%)
CIE-LABlab(39.47, 30.41, -43.83)
CIE-LCHlch(39.47, 53.35, 304.75°)
OKLaboklab(49.07% 0.0526 -0.1242)
OKLCHoklch(49.07% 0.135 292.9)
XYZxyz(14.8809, 10.9317, 36.9160)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA5 #8EA54E
analogous
#4E63A5 #654EA5 #904EA5
triadic
#654EA5 #A5654E #4EA565
tetradic
#654EA5 #A54E63 #8EA54E #4EA590
square
#654EA5 #A54E63 #8EA54E #4EA590
split-complementary
#654EA5 #A5904E #63A54E
monochromatic
#322752 #4C3A7B #654EA5 #8773BD #AB9DD1

Accessibility & contrast

On white

6.59
#654EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654EA5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA5#FFFFFF#000000##FFFFFF
##654EA51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5EA8
Deuteranopia (green-blind)
#2E5BA3
Tritanopia (blue-blind)
#556072
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ea5;
/* rgb */ color: rgb(101, 78, 165);
/* oklch */ color: oklch(49.1% 0.135 292.9);
Tailwind
colors: {
  custom: {
    50: '#9480c0',
    500: '#654ea5',
    950: '#000000',
  },
}
SCSS
$custom: #654ea5;
$custom-light: #9480c0;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea5",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 255.862,
    "s": 35.802,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49065,
    "c": 0.13485,
    "h": 292.9
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#654EA5
secondary
#B2BD91
accent
#CC5CAE
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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