#654ABE#654ABE

#654ABE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.174 H 289.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#654ABE
RGBrgb(101, 74, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 61%, 75%)
CMYKcmyk(46.8%, 61.1%, 0%, 25.5%)
CIE-LABlab(40.22, 40.00, -57.38)
CIE-LCHlch(40.22, 69.94, 304.88°)
OKLaboklab(50.15% 0.0575 -0.164)
OKLCHoklch(50.15% 0.174 289.3)
XYZxyz(17.1072, 11.3813, 50.0006)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ABE #A3BE4A
analogous
#4A69BE #654ABE #9F4ABE
triadic
#654ABE #BE654A #4ABE65
tetradic
#654ABE #BE4A69 #A3BE4A #4ABE9F
square
#654ABE #BE4A69 #A3BE4A #4ABE9F
split-complementary
#654ABE #BE9F4A #69BE4A
monochromatic
#352568 #4C3695 #654ABE #8B77CE #B2A4DE

Accessibility & contrast

On white

6.41
#654ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#654ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ABE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ABE#FFFFFF#000000##FFFFFF
##654ABE1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#49657D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654abe;
/* rgb */ color: rgb(101, 74, 190);
/* oklch */ color: oklch(50.2% 0.174 289.3);
Tailwind
colors: {
  custom: {
    50: '#977ed2',
    500: '#654abe',
    950: '#000000',
  },
}
SCSS
$custom: #654abe;
$custom-light: #977ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#654abe",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 253.966,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50151,
    "c": 0.17379,
    "h": 289.3
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#654ABE
secondary
#C0CB98
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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