#654BBD#654BBD

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

Color values

HEX#654BBD
RGBrgb(101, 75, 189)
HSLhsl(254, 46%, 52%)
HSVhsv(254, 60%, 74%)
CMYKcmyk(46.6%, 60.3%, 0%, 25.9%)
CIE-LABlab(40.36, 39.12, -56.55)
CIE-LCHlch(40.36, 68.77, 304.68°)
OKLaboklab(50.24% 0.0564 -0.1616)
OKLCHoklch(50.24% 0.171 289.3)
XYZxyz(17.0656, 11.4723, 49.4494)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BBD #A3BD4B
analogous
#4B6ABD #654BBD #9E4BBD
triadic
#654BBD #BD654B #4BBD65
tetradic
#654BBD #BD4B6A #A3BD4B #4BBD9E
square
#654BBD #BD4B6A #A3BD4B #4BBD9E
split-complementary
#654BBD #BD9E4B #6ABD4B
monochromatic
#352668 #4C3694 #654BBD #8B78CD #B2A5DE

Accessibility & contrast

On white

6.37
#654BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#654BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BBD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BBD#FFFFFF#000000##FFFFFF
##654BBD1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654bbd;
/* rgb */ color: rgb(101, 75, 189);
/* oklch */ color: oklch(50.2% 0.171 289.3);
Tailwind
colors: {
  custom: {
    50: '#977ed2',
    500: '#654bbd',
    950: '#000000',
  },
}
SCSS
$custom: #654bbd;
$custom-light: #977ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#654bbd",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 253.684,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50238,
    "c": 0.17115,
    "h": 289.3
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#654BBD
secondary
#C0CB99
accent
#D652B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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