#654DCD#654DCD

#654DCD is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.8% C 0.189 H 286.4°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#654DCD
RGBrgb(101, 77, 205)
HSLhsl(251, 56%, 55%)
HSVhsv(251, 62%, 80%)
CMYKcmyk(50.7%, 62.4%, 0%, 19.6%)
CIE-LABlab(41.97, 42.67, -63.24)
CIE-LCHlch(41.97, 76.29, 304.01°)
OKLaboklab(51.78% 0.0533 -0.1812)
OKLCHoklch(51.78% 0.189 286.4)
XYZxyz(19.0369, 12.4813, 59.1518)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DCD #B5CD4D
analogous
#4D75CD #654DCD #A54DCD
triadic
#654DCD #CD654D #4DCD65
tetradic
#654DCD #CD4D75 #B5CD4D #4DCDA5
square
#654DCD #CD4D75 #B5CD4D #4DCDA5
split-complementary
#654DCD #CDA54D #75CD4D
monochromatic
#34237D #4830AC #654DCD #8E7DDA #B8ADE8

Accessibility & contrast

On white

6.01
#654DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#654DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DCD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DCD#FFFFFF#000000##FFFFFF
##654DCD1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#3E6C86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654dcd;
/* rgb */ color: rgb(101, 77, 205);
/* oklch */ color: oklch(51.8% 0.189 286.4);
Tailwind
colors: {
  custom: {
    50: '#9980dd',
    500: '#654dcd',
    950: '#000000',
  },
}
SCSS
$custom: #654dcd;
$custom-light: #9980dd;
$custom-dark: #000000;
JSON
{
  "hex": "#654dcd",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 251.25,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.18893,
    "h": 286.4
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#654DCD
secondary
#CCD6A0
accent
#DF48C3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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