#654CB7#654CB7

#654CB7 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.162 H 290.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#654CB7
RGBrgb(101, 76, 183)
HSLhsl(254, 43%, 51%)
HSVhsv(254, 58%, 72%)
CMYKcmyk(44.8%, 58.5%, 0%, 28.2%)
CIE-LABlab(40.17, 36.79, -53.35)
CIE-LCHlch(40.17, 64.80, 304.59°)
OKLaboklab(49.96% 0.0555 -0.1521)
OKLCHoklch(49.96% 0.162 290)
XYZxyz(16.4961, 11.3539, 46.1129)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB7 #9EB74C
analogous
#4C68B7 #654CB7 #9A4CB7
triadic
#654CB7 #B7654C #4CB765
tetradic
#654CB7 #B74C68 #9EB74C #4CB79A
square
#654CB7 #B74C68 #9EB74C #4CB79A
split-complementary
#654CB7 #B79A4C #68B74C
monochromatic
#352761 #4C398D #654CB7 #8B78C9 #B0A3DA

Accessibility & contrast

On white

6.42
#654CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654CB7
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB7#FFFFFF#000000##FFFFFF
##654CB71.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#075CB5
Tritanopia (blue-blind)
#4C647A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654cb7;
/* rgb */ color: rgb(101, 76, 183);
/* oklch */ color: oklch(50.0% 0.162 290.0);
Tailwind
colors: {
  custom: {
    50: '#977fcd',
    500: '#654cb7',
    950: '#000000',
  },
}
SCSS
$custom: #654cb7;
$custom-light: #977fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb7",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 254.019,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49962,
    "c": 0.16195,
    "h": 290
  },
  "luminance": 0.11354
}

Semantic roles & 50–950 ramp

primary
#654CB7
secondary
#BCC798
accent
#D255B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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