#654BC6#654BC6

#654BC6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.9% C 0.183 H 287.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#654BC6
RGBrgb(101, 75, 198)
HSLhsl(253, 52%, 54%)
HSVhsv(253, 62%, 78%)
CMYKcmyk(49%, 62.1%, 0%, 22.4%)
CIE-LABlab(41.02, 41.76, -60.74)
CIE-LCHlch(41.02, 73.71, 304.51°)
OKLaboklab(50.92% 0.0559 -0.1739)
OKLCHoklch(50.92% 0.183 287.8)
XYZxyz(18.0730, 11.8753, 54.7550)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC6 #ACC64B
analogous
#4B6EC6 #654BC6 #A24BC6
triadic
#654BC6 #C6654B #4BC665
tetradic
#654BC6 #C64B6E #ACC64B #4BC6A2
square
#654BC6 #C64B6E #ACC64B #4BC6A2
split-complementary
#654BC6 #C6A24B #6EC64B
monochromatic
#352472 #4A33A1 #654BC6 #8D79D5 #B5A8E3

Accessibility & contrast

On white

6.22
#654BC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654BC6
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC6#FFFFFF#000000##FFFFFF
##654BC61.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005DC3
Tritanopia (blue-blind)
#446881
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bc6;
/* rgb */ color: rgb(101, 75, 198);
/* oklch */ color: oklch(50.9% 0.183 287.8);
Tailwind
colors: {
  custom: {
    50: '#987ed8',
    500: '#654bc6',
    950: '#000000',
  },
}
SCSS
$custom: #654bc6;
$custom-light: #987ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc6",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 198
  },
  "hsl": {
    "h": 252.683,
    "s": 51.899,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5092,
    "c": 0.18266,
    "h": 287.8
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#654BC6
secondary
#C6D19C
accent
#DB4CBD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #654BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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