#654EC8#654EC8

#654EC8 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.181 H 286.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#654EC8
RGBrgb(101, 78, 200)
HSLhsl(251, 53%, 55%)
HSVhsv(251, 61%, 78%)
CMYKcmyk(49.5%, 61%, 0%, 21.6%)
CIE-LABlab(41.82, 40.61, -60.59)
CIE-LCHlch(41.82, 72.94, 303.83°)
OKLaboklab(51.55% 0.0526 -0.1735)
OKLCHoklch(51.55% 0.181 286.9)
XYZxyz(18.5135, 12.3848, 56.0474)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EC8 #B1C84E
analogous
#4E74C8 #654EC8 #A24EC8
triadic
#654EC8 #C8654E #4EC865
tetradic
#654EC8 #C84E74 #B1C84E #4EC8A2
square
#654EC8 #C84E74 #B1C84E #4EC8A2
split-complementary
#654EC8 #C8A24E #74C84E
monochromatic
#342577 #4933A5 #654EC8 #8E7DD7 #B6ABE5

Accessibility & contrast

On white

6.04
#654EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#654EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EC8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EC8#FFFFFF#000000##FFFFFF
##654EC81.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#426B83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654ec8;
/* rgb */ color: rgb(101, 78, 200);
/* oklch */ color: oklch(51.6% 0.181 286.9);
Tailwind
colors: {
  custom: {
    50: '#9980da',
    500: '#654ec8',
    950: '#000000',
  },
}
SCSS
$custom: #654ec8;
$custom-light: #9980da;
$custom-dark: #000000;
JSON
{
  "hex": "#654ec8",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 251.311,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51553,
    "c": 0.18127,
    "h": 286.9
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#654EC8
secondary
#C9D39F
accent
#DC4CC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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