#654CC8#654CC8

#654CC8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.184 H 287.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#654CC8
RGBrgb(101, 76, 200)
HSLhsl(252, 53%, 54%)
HSVhsv(252, 62%, 78%)
CMYKcmyk(49.5%, 62%, 0%, 21.6%)
CIE-LABlab(41.38, 41.77, -61.31)
CIE-LCHlch(41.38, 74.18, 304.27°)
OKLaboklab(51.23% 0.0547 -0.1756)
OKLCHoklch(51.23% 0.184 287.3)
XYZxyz(18.3735, 12.1049, 56.0007)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CC8 #AFC84C
analogous
#4C71C8 #654CC8 #A34CC8
triadic
#654CC8 #C8654C #4CC865
tetradic
#654CC8 #C84C71 #AFC84C #4CC8A3
square
#654CC8 #C84C71 #AFC84C #4CC8A3
split-complementary
#654CC8 #C8A34C #71C84C
monochromatic
#352475 #4932A4 #654CC8 #8D7BD6 #B6AAE5

Accessibility & contrast

On white

6.14
#654CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#654CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CC8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CC8#FFFFFF#000000##FFFFFF
##654CC81.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#426983
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654cc8;
/* rgb */ color: rgb(101, 76, 200);
/* oklch */ color: oklch(51.2% 0.184 287.3);
Tailwind
colors: {
  custom: {
    50: '#997fda',
    500: '#654cc8',
    950: '#000000',
  },
}
SCSS
$custom: #654cc8;
$custom-light: #997fda;
$custom-dark: #000000;
JSON
{
  "hex": "#654cc8",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 252.097,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.18389,
    "h": 287.3
  },
  "luminance": 0.12106
}

Semantic roles & 50–950 ramp

primary
#654CC8
secondary
#C8D29E
accent
#DC4BBF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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