#654AC8#654AC8

#654AC8 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.186 H 287.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#654AC8
RGBrgb(101, 74, 200)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 63%, 78%)
CMYKcmyk(49.5%, 63%, 0%, 21.6%)
CIE-LABlab(40.95, 42.92, -62.01)
CIE-LCHlch(40.95, 75.41, 304.69°)
OKLaboklab(50.92% 0.0568 -0.1776)
OKLCHoklch(50.92% 0.186 287.7)
XYZxyz(18.2379, 11.8336, 55.9555)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AC8 #ADC84A
analogous
#4A6EC8 #654AC8 #A44AC8
triadic
#654AC8 #C8654A #4AC865
tetradic
#654AC8 #C84A6E #ADC84A #4AC8A4
square
#654AC8 #C84A6E #ADC84A #4AC8A4
split-complementary
#654AC8 #C8A44A #6EC84A
monochromatic
#352374 #4A32A3 #654AC8 #8D79D6 #B5A8E5

Accessibility & contrast

On white

6.24
#654AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#654AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AC8
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AC8#FFFFFF#000000##FFFFFF
##654AC81.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#426882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654ac8;
/* rgb */ color: rgb(101, 74, 200);
/* oklch */ color: oklch(50.9% 0.186 287.7);
Tailwind
colors: {
  custom: {
    50: '#997eda',
    500: '#654ac8',
    950: '#000000',
  },
}
SCSS
$custom: #654ac8;
$custom-light: #997eda;
$custom-dark: #000000;
JSON
{
  "hex": "#654ac8",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 200
  },
  "hsl": {
    "h": 252.857,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50919,
    "c": 0.18649,
    "h": 287.7
  },
  "luminance": 0.11834
}

Semantic roles & 50–950 ramp

primary
#654AC8
secondary
#C6D29C
accent
#DD4BBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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