#654EA3#654EA3

#654EA3 is a mid, vivid violet. Relative luminance 0.109; OKLCH L 48.9% C 0.132 H 293.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#654EA3
RGBrgb(101, 78, 163)
HSLhsl(256, 35%, 47%)
HSVhsv(256, 52%, 64%)
CMYKcmyk(38%, 52.1%, 0%, 36.1%)
CIE-LABlab(39.34, 29.84, -42.83)
CIE-LCHlch(39.34, 52.20, 304.87°)
OKLaboklab(48.93% 0.0524 -0.1213)
OKLCHoklch(48.93% 0.132 293.4)
XYZxyz(14.7003, 10.8595, 35.9648)
Luminance0.1086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA3 #8CA34E
analogous
#4E62A3 #654EA3 #904EA3
triadic
#654EA3 #A3654E #4EA365
tetradic
#654EA3 #A34E62 #8CA34E #4EA390
square
#654EA3 #A34E62 #8CA34E #4EA390
split-complementary
#654EA3 #A3904E #62A34E
monochromatic
#322650 #4B3A7A #654EA3 #8672BC #AA9CD0

Accessibility & contrast

On white

6.62
#654EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#654EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EA3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA3#FFFFFF#000000##FFFFFF
##654EA31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#305BA1
Tritanopia (blue-blind)
#565F71
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ea3;
/* rgb */ color: rgb(101, 78, 163);
/* oklch */ color: oklch(48.9% 0.132 293.4);
Tailwind
colors: {
  custom: {
    50: '#9480bf',
    500: '#654ea3',
    950: '#000000',
  },
}
SCSS
$custom: #654ea3;
$custom-light: #9480bf;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea3",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 256.235,
    "s": 35.27,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48934,
    "c": 0.13211,
    "h": 293.4
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#654EA3
secondary
#B0BC91
accent
#CB5CAD
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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