#654AD8#654AD8

#654AD8 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.2% C 0.206 H 285.5°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#654AD8
RGBrgb(101, 74, 216)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 66%, 85%)
CMYKcmyk(53.2%, 65.7%, 0%, 15.3%)
CIE-LABlab(42.19, 47.61, -69.22)
CIE-LCHlch(42.19, 84.01, 304.52°)
OKLaboklab(52.2% 0.0551 -0.1988)
OKLCHoklch(52.2% 0.206 285.5)
XYZxyz(20.2066, 12.6210, 66.3238)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AD8 #BDD84A
analogous
#4A76D8 #654AD8 #AC4AD8
triadic
#654AD8 #D8654A #4AD865
tetradic
#654AD8 #D84A76 #BDD84A #4AD8AC
square
#654AD8 #D84A76 #BDD84A #4AD8AC
split-complementary
#654AD8 #D8AC4A #76D84A
monochromatic
#321E8A #4529BC #654AD8 #907CE3 #BBAFEE

Accessibility & contrast

On white

5.96
#654AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#654AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AD8
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AD8#FFFFFF#000000##FFFFFF
##654AD81.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#356E8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654ad8;
/* rgb */ color: rgb(101, 74, 216);
/* oklch */ color: oklch(52.2% 0.206 285.5);
Tailwind
colors: {
  custom: {
    50: '#9b7ee5',
    500: '#654ad8',
    950: '#000000',
  },
}
SCSS
$custom: #654ad8;
$custom-light: #9b7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#654ad8",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 251.408,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.522,
    "c": 0.2063,
    "h": 285.5
  },
  "luminance": 0.12622
}

Semantic roles & 50–950 ramp

primary
#654AD8
secondary
#D1DCA2
accent
#E840C8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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