#654EA7#654EA7

#654EA7 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.2% C 0.138 H 292.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#654EA7
RGBrgb(101, 78, 167)
HSLhsl(256, 36%, 48%)
HSVhsv(256, 53%, 65%)
CMYKcmyk(39.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(39.59, 30.98, -44.82)
CIE-LCHlch(39.59, 54.49, 304.65°)
OKLaboklab(49.2% 0.0527 -0.1271)
OKLCHoklch(49.2% 0.138 292.5)
XYZxyz(15.0644, 11.0051, 37.8822)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA7 #90A74E
analogous
#4E63A7 #654EA7 #924EA7
triadic
#654EA7 #A7654E #4EA765
tetradic
#654EA7 #A74E63 #90A74E #4EA792
square
#654EA7 #A74E63 #90A74E #4EA792
split-complementary
#654EA7 #A7924E #63A74E
monochromatic
#332754 #4C3B7D #654EA7 #8774BE #AB9ED2

Accessibility & contrast

On white

6.56
#654EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#654EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EA7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA7#FFFFFF#000000##FFFFFF
##654EA71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285EAA
Deuteranopia (green-blind)
#2C5CA5
Tritanopia (blue-blind)
#546073
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ea7;
/* rgb */ color: rgb(101, 78, 167);
/* oklch */ color: oklch(49.2% 0.138 292.5);
Tailwind
colors: {
  custom: {
    50: '#9580c2',
    500: '#654ea7',
    950: '#000000',
  },
}
SCSS
$custom: #654ea7;
$custom-light: #9580c2;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea7",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 255.506,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.49197,
    "c": 0.13758,
    "h": 292.5
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#654EA7
secondary
#B3BE92
accent
#CC5BAF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #654EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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