#654ACC#654ACC

#654ACC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.191 H 287.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#654ACC
RGBrgb(101, 74, 204)
HSLhsl(252, 56%, 55%)
HSVhsv(252, 64%, 80%)
CMYKcmyk(50.5%, 63.7%, 0%, 20%)
CIE-LABlab(41.25, 44.09, -63.83)
CIE-LCHlch(41.25, 77.58, 304.63°)
OKLaboklab(51.23% 0.0564 -0.183)
OKLCHoklch(51.23% 0.191 287.1)
XYZxyz(18.7115, 12.0230, 58.4498)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ACC #B1CC4A
analogous
#4A70CC #654ACC #A64ACC
triadic
#654ACC #CC654A #4ACC65
tetradic
#654ACC #CC4A70 #B1CC4A #4ACCA6
square
#654ACC #CC4A70 #B1CC4A #4ACCA6
split-complementary
#654ACC #CCA64A #70CC4A
monochromatic
#342279 #4930A9 #654ACC #8E7AD9 #B6A9E7

Accessibility & contrast

On white

6.17
#654ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#654ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ACC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ACC#FFFFFF#000000##FFFFFF
##654ACC1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#3F6984
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654acc;
/* rgb */ color: rgb(101, 74, 204);
/* oklch */ color: oklch(51.2% 0.191 287.1);
Tailwind
colors: {
  custom: {
    50: '#997edc',
    500: '#654acc',
    950: '#000000',
  },
}
SCSS
$custom: #654acc;
$custom-light: #997edc;
$custom-dark: #000000;
JSON
{
  "hex": "#654acc",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 252.462,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51233,
    "c": 0.19149,
    "h": 287.1
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#654ACC
secondary
#C9D49D
accent
#DF48C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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