#654ACB#654ACB

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

Color values

HEX#654ACB
RGBrgb(101, 74, 203)
HSLhsl(253, 55%, 54%)
HSVhsv(253, 64%, 80%)
CMYKcmyk(50.2%, 63.5%, 0%, 20.4%)
CIE-LABlab(41.18, 43.79, -63.38)
CIE-LCHlch(41.18, 77.04, 304.64°)
OKLaboklab(51.15% 0.0565 -0.1816)
OKLCHoklch(51.15% 0.19 287.3)
XYZxyz(18.5919, 11.9752, 57.8201)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ACB #B0CB4A
analogous
#4A70CB #654ACB #A64ACB
triadic
#654ACB #CB654A #4ACB65
tetradic
#654ACB #CB4A70 #B0CB4A #4ACBA6
square
#654ACB #CB4A70 #B0CB4A #4ACBA6
split-complementary
#654ACB #CBA64A #70CB4A
monochromatic
#342378 #4930A8 #654ACB #8D7AD9 #B6A9E6

Accessibility & contrast

On white

6.19
#654ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654ACB
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ACB#FFFFFF#000000##FFFFFF
##654ACB1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#406984
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654acb;
/* rgb */ color: rgb(101, 74, 203);
/* oklch */ color: oklch(51.2% 0.190 287.3);
Tailwind
colors: {
  custom: {
    50: '#997edc',
    500: '#654acb',
    950: '#000000',
  },
}
SCSS
$custom: #654acb;
$custom-light: #997edc;
$custom-dark: #000000;
JSON
{
  "hex": "#654acb",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 203
  },
  "hsl": {
    "h": 252.558,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51154,
    "c": 0.19024,
    "h": 287.3
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#654ACB
secondary
#C8D49D
accent
#DF49BF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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