#654CDC#654CDC

#654CDC is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.209 H 284.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#654CDC
RGBrgb(101, 76, 220)
HSLhsl(250, 67%, 58%)
HSVhsv(250, 65%, 86%)
CMYKcmyk(54.1%, 65.5%, 0%, 13.7%)
CIE-LABlab(42.92, 47.68, -70.31)
CIE-LCHlch(42.92, 84.95, 304.14°)
OKLaboklab(52.83% 0.0528 -0.202)
OKLCHoklch(52.83% 0.209 284.6)
XYZxyz(20.8656, 13.1017, 69.1257)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CDC #C3DC4C
analogous
#4C7BDC #654CDC #AD4CDC
triadic
#654CDC #DC654C #4CDC65
tetradic
#654CDC #DC4C7B #C3DC4C #4CDCAD
square
#654CDC #DC4C7B #C3DC4C #4CDCAD
split-complementary
#654CDC #DCAD4C #7BDC4C
monochromatic
#311C91 #4226C4 #654CDC #917FE6 #BDB2F0

Accessibility & contrast

On white

5.80
#654CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#654CDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CDC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CDC#FFFFFF#000000##FFFFFF
##654CDC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#30708D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654cdc;
/* rgb */ color: rgb(101, 76, 220);
/* oklch */ color: oklch(52.8% 0.209 284.6);
Tailwind
colors: {
  custom: {
    50: '#9b80e8',
    500: '#654cdc',
    950: '#000000',
  },
}
SCSS
$custom: #654cdc;
$custom-light: #9b80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#654cdc",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 220
  },
  "hsl": {
    "h": 250.417,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.20881,
    "h": 284.6
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#654CDC
secondary
#D5DFA5
accent
#EA3ECC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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