#654ABD#654ABD

#654ABD is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.1% C 0.173 H 289.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#654ABD
RGBrgb(101, 74, 189)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 61%, 74%)
CMYKcmyk(46.6%, 60.8%, 0%, 25.9%)
CIE-LABlab(40.14, 39.71, -56.91)
CIE-LCHlch(40.14, 69.39, 304.90°)
OKLaboklab(50.08% 0.0576 -0.1626)
OKLCHoklch(50.08% 0.173 289.5)
XYZxyz(16.9983, 11.3377, 49.4270)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ABD #A2BD4A
analogous
#4A69BD #654ABD #9F4ABD
triadic
#654ABD #BD654A #4ABD65
tetradic
#654ABD #BD4A69 #A2BD4A #4ABD9F
square
#654ABD #BD4A69 #A2BD4A #4ABD9F
split-complementary
#654ABD #BD9F4A #69BD4A
monochromatic
#352667 #4C3694 #654ABD #8B77CD #B1A4DE

Accessibility & contrast

On white

6.43
#654ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#654ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ABD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ABD#FFFFFF#000000##FFFFFF
##654ABD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654abd;
/* rgb */ color: rgb(101, 74, 189);
/* oklch */ color: oklch(50.1% 0.173 289.5);
Tailwind
colors: {
  custom: {
    50: '#977ed2',
    500: '#654abd',
    950: '#000000',
  },
}
SCSS
$custom: #654abd;
$custom-light: #977ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#654abd",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 254.087,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50076,
    "c": 0.17251,
    "h": 289.5
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#654ABD
secondary
#BFCB98
accent
#D652B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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