#654BCD#654BCD

#654BCD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.191 H 286.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#654BCD
RGBrgb(101, 75, 205)
HSLhsl(252, 57%, 55%)
HSVhsv(252, 63%, 80%)
CMYKcmyk(50.7%, 63.4%, 0%, 19.6%)
CIE-LABlab(41.54, 43.81, -63.94)
CIE-LCHlch(41.54, 77.51, 304.42°)
OKLaboklab(51.47% 0.0553 -0.1833)
OKLCHoklch(51.47% 0.191 286.8)
XYZxyz(18.8991, 12.2057, 59.1059)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BCD #B3CD4B
analogous
#4B72CD #654BCD #A64BCD
triadic
#654BCD #CD654B #4BCD65
tetradic
#654BCD #CD4B72 #B3CD4B #4BCDA6
square
#654BCD #CD4B72 #B3CD4B #4BCDA6
split-complementary
#654BCD #CDA64B #72CD4B
monochromatic
#34227B #4830AB #654BCD #8E7BDA #B7ABE8

Accessibility & contrast

On white

6.10
#654BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#654BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BCD
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BCD#FFFFFF#000000##FFFFFF
##654BCD1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#3E6A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654bcd;
/* rgb */ color: rgb(101, 75, 205);
/* oklch */ color: oklch(51.5% 0.191 286.8);
Tailwind
colors: {
  custom: {
    50: '#997fdd',
    500: '#654bcd',
    950: '#000000',
  },
}
SCSS
$custom: #654bcd;
$custom-light: #997fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#654bcd",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 205
  },
  "hsl": {
    "h": 252,
    "s": 56.522,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.19148,
    "h": 286.8
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#654BCD
secondary
#CAD59F
accent
#E048C1
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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