#654FBD#654FBD

#654FBD is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.166 H 288.3°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#654FBD
RGBrgb(101, 79, 189)
HSLhsl(252, 45%, 53%)
HSVhsv(252, 58%, 74%)
CMYKcmyk(46.6%, 58.2%, 0%, 25.9%)
CIE-LABlab(41.27, 36.77, -55.09)
CIE-LCHlch(41.27, 66.23, 303.72°)
OKLaboklab(50.9% 0.0519 -0.1573)
OKLCHoklch(50.9% 0.166 288.3)
XYZxyz(17.3455, 12.0321, 49.5427)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FBD #A7BD4F
analogous
#4F70BD #654FBD #9C4FBD
triadic
#654FBD #BD654F #4FBD65
tetradic
#654FBD #BD4F70 #A7BD4F #4FBD9C
square
#654FBD #BD4F70 #A7BD4F #4FBD9C
split-complementary
#654FBD #BD9C4F #70BD4F
monochromatic
#35286A #4B3896 #654FBD #8C7CCE #B3A8DE

Accessibility & contrast

On white

6.16
#654FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#654FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FBD#FFFFFF#000000##FFFFFF
##654FBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#49687E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654fbd;
/* rgb */ color: rgb(101, 79, 189);
/* oklch */ color: oklch(50.9% 0.166 288.3);
Tailwind
colors: {
  custom: {
    50: '#9781d2',
    500: '#654fbd',
    950: '#000000',
  },
}
SCSS
$custom: #654fbd;
$custom-light: #9781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#654fbd",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 252,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.509,
    "c": 0.16562,
    "h": 288.3
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#654FBD
secondary
#C2CC9C
accent
#D553BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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