#654CCD#654CCD

#654CCD is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.6% C 0.190 H 286.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#654CCD
RGBrgb(101, 76, 205)
HSLhsl(252, 56%, 55%)
HSVhsv(252, 63%, 80%)
CMYKcmyk(50.7%, 62.9%, 0%, 19.6%)
CIE-LABlab(41.76, 43.24, -63.59)
CIE-LCHlch(41.76, 76.90, 304.21°)
OKLaboklab(51.62% 0.0543 -0.1823)
OKLCHoklch(51.62% 0.19 286.6)
XYZxyz(18.9675, 12.3424, 59.1287)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CCD #B4CD4C
analogous
#4C73CD #654CCD #A64CCD
triadic
#654CCD #CD654C #4CCD65
tetradic
#654CCD #CD4C73 #B4CD4C #4CCDA6
square
#654CCD #CD4C73 #B4CD4C #4CCDA6
split-complementary
#654CCD #CDA64C #73CD4C
monochromatic
#34237C #4830AC #654CCD #8E7CDA #B7ACE8

Accessibility & contrast

On white

6.05
#654CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#654CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CCD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CCD#FFFFFF#000000##FFFFFF
##654CCD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654ccd;
/* rgb */ color: rgb(101, 76, 205);
/* oklch */ color: oklch(51.6% 0.190 286.6);
Tailwind
colors: {
  custom: {
    50: '#997fdd',
    500: '#654ccd',
    950: '#000000',
  },
}
SCSS
$custom: #654ccd;
$custom-light: #997fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#654ccd",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 251.628,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51622,
    "c": 0.1902,
    "h": 286.6
  },
  "luminance": 0.12343
}

Semantic roles & 50–950 ramp

primary
#654CCD
secondary
#CBD59F
accent
#E048C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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