#654DCE#654DCE

#654DCE is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.190 H 286.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#654DCE
RGBrgb(101, 77, 206)
HSLhsl(251, 57%, 55%)
HSVhsv(251, 63%, 81%)
CMYKcmyk(51%, 62.6%, 0%, 19.2%)
CIE-LABlab(42.05, 42.96, -63.70)
CIE-LCHlch(42.05, 76.83, 304.00°)
OKLaboklab(51.86% 0.0532 -0.1826)
OKLCHoklch(51.86% 0.19 286.3)
XYZxyz(19.1580, 12.5297, 59.7896)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DCE #B6CE4D
analogous
#4D75CE #654DCE #A54DCE
triadic
#654DCE #CE654D #4DCE65
tetradic
#654DCE #CE4D75 #B6CE4D #4DCEA5
square
#654DCE #CE4D75 #B6CE4D #4DCEA5
split-complementary
#654DCE #CEA54D #75CE4D
monochromatic
#34237E #4730AE #654DCE #8F7DDB #B8ADE8

Accessibility & contrast

On white

5.99
#654DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#654DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DCE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DCE#FFFFFF#000000##FFFFFF
##654DCE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005FCB
Tritanopia (blue-blind)
#3D6C86
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654dce;
/* rgb */ color: rgb(101, 77, 206);
/* oklch */ color: oklch(51.9% 0.190 286.3);
Tailwind
colors: {
  custom: {
    50: '#9980de',
    500: '#654dce',
    950: '#000000',
  },
}
SCSS
$custom: #654dce;
$custom-light: #9980de;
$custom-dark: #000000;
JSON
{
  "hex": "#654dce",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 251.163,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51857,
    "c": 0.19019,
    "h": 286.3
  },
  "luminance": 0.12531
}

Semantic roles & 50–950 ramp

primary
#654DCE
secondary
#CCD6A1
accent
#E048C4
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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