#654BC8#654BC8

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

Color values

HEX#654BC8
RGBrgb(101, 75, 200)
HSLhsl(252, 53%, 54%)
HSVhsv(252, 63%, 78%)
CMYKcmyk(49.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(41.17, 42.34, -61.66)
CIE-LCHlch(41.17, 74.80, 304.48°)
OKLaboklab(51.08% 0.0558 -0.1766)
OKLCHoklch(51.08% 0.185 287.5)
XYZxyz(18.3052, 11.9682, 55.9779)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC8 #AEC84B
analogous
#4B70C8 #654BC8 #A44BC8
triadic
#654BC8 #C8654B #4BC865
tetradic
#654BC8 #C84B70 #AEC84B #4BC8A4
square
#654BC8 #C84B70 #AEC84B #4BC8A4
split-complementary
#654BC8 #C8A44B #70C84B
monochromatic
#352475 #4A32A4 #654BC8 #8D7AD6 #B5A9E5

Accessibility & contrast

On white

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

On black

3.39
#654BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##654BC8#FFFFFF#000000##FFFFFF
##654BC81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#426982
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bc8;
/* rgb */ color: rgb(101, 75, 200);
/* oklch */ color: oklch(51.1% 0.185 287.5);
Tailwind
colors: {
  custom: {
    50: '#997eda',
    500: '#654bc8',
    950: '#000000',
  },
}
SCSS
$custom: #654bc8;
$custom-light: #997eda;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc8",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 252.48,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51075,
    "c": 0.18519,
    "h": 287.5
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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