#654CBB#654CBB

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

Color values

HEX#654CBB
RGBrgb(101, 76, 187)
HSLhsl(254, 45%, 52%)
HSVhsv(254, 59%, 73%)
CMYKcmyk(46%, 59.4%, 0%, 26.7%)
CIE-LABlab(40.45, 37.95, -55.25)
CIE-LCHlch(40.45, 67.03, 304.49°)
OKLaboklab(50.25% 0.0554 -0.1577)
OKLCHoklch(50.25% 0.167 289.3)
XYZxyz(16.9184, 11.5228, 48.3368)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CBB #A2BB4C
analogous
#4C6BBB #654CBB #9D4CBB
triadic
#654CBB #BB654C #4CBB65
tetradic
#654CBB #BB4C6B #A2BB4C #4CBB9D
square
#654CBB #BB4C6B #A2BB4C #4CBB9D
split-complementary
#654CBB #BB9D4C #6BBB4C
monochromatic
#352766 #4C3892 #654CBB #8B78CC #B1A5DD

Accessibility & contrast

On white

6.35
#654CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#654CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CBB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CBB#FFFFFF#000000##FFFFFF
##654CBB1.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#4A657C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654cbb;
/* rgb */ color: rgb(101, 76, 187);
/* oklch */ color: oklch(50.3% 0.167 289.3);
Tailwind
colors: {
  custom: {
    50: '#977fd0',
    500: '#654cbb',
    950: '#000000',
  },
}
SCSS
$custom: #654cbb;
$custom-light: #977fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#654cbb",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 253.514,
    "s": 44.939,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.16718,
    "h": 289.3
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#654CBB
secondary
#BFCA99
accent
#D553B7
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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