#654CBE#654CBE

#654CBE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.5% C 0.171 H 288.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#654CBE
RGBrgb(101, 76, 190)
HSLhsl(253, 47%, 52%)
HSVhsv(253, 60%, 75%)
CMYKcmyk(46.8%, 60%, 0%, 25.5%)
CIE-LABlab(40.66, 38.83, -56.66)
CIE-LCHlch(40.66, 68.69, 304.42°)
OKLaboklab(50.48% 0.0553 -0.1619)
OKLCHoklch(50.48% 0.171 288.9)
XYZxyz(17.2429, 11.6526, 50.0459)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CBE #A5BE4C
analogous
#4C6CBE #654CBE #9E4CBE
triadic
#654CBE #BE654C #4CBE65
tetradic
#654CBE #BE4C6C #A5BE4C #4CBE9E
square
#654CBE #BE4C6C #A5BE4C #4CBE9E
split-complementary
#654CBE #BE9E4C #6CBE4C
monochromatic
#352669 #4C3796 #654CBE #8C79CE #B2A6DF

Accessibility & contrast

On white

6.31
#654CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#654CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CBE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CBE#FFFFFF#000000##FFFFFF
##654CBE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#49667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654cbe;
/* rgb */ color: rgb(101, 76, 190);
/* oklch */ color: oklch(50.5% 0.171 288.9);
Tailwind
colors: {
  custom: {
    50: '#977fd2',
    500: '#654cbe',
    950: '#000000',
  },
}
SCSS
$custom: #654cbe;
$custom-light: #977fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#654cbe",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 253.158,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.17107,
    "h": 288.9
  },
  "luminance": 0.11653
}

Semantic roles & 50–950 ramp

primary
#654CBE
secondary
#C1CC9A
accent
#D651B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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