#654CBD#654CBD

#654CBD is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.170 H 289.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#654CBD
RGBrgb(101, 76, 189)
HSLhsl(253, 46%, 52%)
HSVhsv(253, 60%, 74%)
CMYKcmyk(46.6%, 59.8%, 0%, 25.9%)
CIE-LABlab(40.59, 38.54, -56.19)
CIE-LCHlch(40.59, 68.14, 304.44°)
OKLaboklab(50.4% 0.0553 -0.1605)
OKLCHoklch(50.4% 0.17 289)
XYZxyz(17.1340, 11.6090, 49.4722)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CBD #A4BD4C
analogous
#4C6CBD #654CBD #9D4CBD
triadic
#654CBD #BD654C #4CBD65
tetradic
#654CBD #BD4C6C #A4BD4C #4CBD9D
square
#654CBD #BD4C6C #A4BD4C #4CBD9D
split-complementary
#654CBD #BD9D4C #6CBD4C
monochromatic
#352668 #4C3795 #654CBD #8B79CD #B2A5DE

Accessibility & contrast

On white

6.32
#654CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#654CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CBD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CBD#FFFFFF#000000##FFFFFF
##654CBD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#49667D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654cbd;
/* rgb */ color: rgb(101, 76, 189);
/* oklch */ color: oklch(50.4% 0.170 289.0);
Tailwind
colors: {
  custom: {
    50: '#977fd2',
    500: '#654cbd',
    950: '#000000',
  },
}
SCSS
$custom: #654cbd;
$custom-light: #977fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#654cbd",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 253.274,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50401,
    "c": 0.16978,
    "h": 289
  },
  "luminance": 0.1161
}

Semantic roles & 50–950 ramp

primary
#654CBD
secondary
#C0CB9A
accent
#D652B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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