#654CCE#654CCE

#654CCE is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.191 H 286.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#654CCE
RGBrgb(101, 76, 206)
HSLhsl(252, 57%, 55%)
HSVhsv(252, 63%, 81%)
CMYKcmyk(51%, 63.1%, 0%, 19.2%)
CIE-LABlab(41.83, 43.54, -64.05)
CIE-LCHlch(41.83, 77.44, 304.21°)
OKLaboklab(51.7% 0.0542 -0.1836)
OKLCHoklch(51.7% 0.191 286.5)
XYZxyz(19.0886, 12.3909, 59.7664)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CCE #B5CE4C
analogous
#4C74CE #654CCE #A64CCE
triadic
#654CCE #CE654C #4CCE65
tetradic
#654CCE #CE4C74 #B5CE4C #4CCEA6
square
#654CCE #CE4C74 #B5CE4C #4CCEA6
split-complementary
#654CCE #CEA64C #74CE4C
monochromatic
#34227D #482FAD #654CCE #8E7CDB #B8ACE8

Accessibility & contrast

On white

6.04
#654CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#654CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CCE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CCE#FFFFFF#000000##FFFFFF
##654CCE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654cce;
/* rgb */ color: rgb(101, 76, 206);
/* oklch */ color: oklch(51.7% 0.191 286.5);
Tailwind
colors: {
  custom: {
    50: '#997fde',
    500: '#654cce',
    950: '#000000',
  },
}
SCSS
$custom: #654cce;
$custom-light: #997fde;
$custom-dark: #000000;
JSON
{
  "hex": "#654cce",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 251.538,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.517,
    "c": 0.19146,
    "h": 286.5
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#654CCE
secondary
#CCD6A0
accent
#E048C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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