#654BC7#654BC7

#654BC7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.184 H 287.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#654BC7
RGBrgb(101, 75, 199)
HSLhsl(253, 53%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(49.2%, 62.3%, 0%, 22%)
CIE-LABlab(41.09, 42.05, -61.20)
CIE-LCHlch(41.09, 74.25, 304.49°)
OKLaboklab(51% 0.0558 -0.1752)
OKLCHoklch(51% 0.184 287.7)
XYZxyz(18.1887, 11.9216, 55.3645)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC7 #ADC74B
analogous
#4B6FC7 #654BC7 #A34BC7
triadic
#654BC7 #C7654B #4BC765
tetradic
#654BC7 #C74B6F #ADC74B #4BC7A3
square
#654BC7 #C74B6F #ADC74B #4BC7A3
split-complementary
#654BC7 #C7A34B #6FC74B
monochromatic
#352474 #4A32A2 #654BC7 #8D7AD6 #B5A8E4

Accessibility & contrast

On white

6.20
#654BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#654BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC7
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC7#FFFFFF#000000##FFFFFF
##654BC71.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#436882
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bc7;
/* rgb */ color: rgb(101, 75, 199);
/* oklch */ color: oklch(51.0% 0.184 287.7);
Tailwind
colors: {
  custom: {
    50: '#997ed9',
    500: '#654bc7',
    950: '#000000',
  },
}
SCSS
$custom: #654bc7;
$custom-light: #997ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc7",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 252.581,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.18393,
    "h": 287.7
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

primary
#654BC7
secondary
#C6D19C
accent
#DC4CBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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