#654BD0#654BD0

#654BD0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.195 H 286.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#654BD0
RGBrgb(101, 75, 208)
HSLhsl(252, 59%, 55%)
HSVhsv(252, 64%, 82%)
CMYKcmyk(51.4%, 63.9%, 0%, 18.4%)
CIE-LABlab(41.77, 44.70, -65.30)
CIE-LCHlch(41.77, 79.13, 304.39°)
OKLaboklab(51.7% 0.055 -0.1873)
OKLCHoklch(51.7% 0.195 286.4)
XYZxyz(19.2647, 12.3520, 61.0313)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD0 #B6D04B
analogous
#4B74D0 #654BD0 #A74BD0
triadic
#654BD0 #D0654B #4BD065
tetradic
#654BD0 #D04B74 #B6D04B #4BD0A7
square
#654BD0 #D04B74 #B6D04B #4BD0A7
split-complementary
#654BD0 #D0A74B #74D04B
monochromatic
#34217F #472EB0 #654BD0 #8F7CDD #B8ACE9

Accessibility & contrast

On white

6.05
#654BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#654BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD0
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD0#FFFFFF#000000##FFFFFF
##654BD01.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#3C6B87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654bd0;
/* rgb */ color: rgb(101, 75, 208);
/* oklch */ color: oklch(51.7% 0.195 286.4);
Tailwind
colors: {
  custom: {
    50: '#9a7fdf',
    500: '#654bd0',
    950: '#000000',
  },
}
SCSS
$custom: #654bd0;
$custom-light: #9a7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd0",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 251.729,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.19522,
    "h": 286.4
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#654BD0
secondary
#CCD7A0
accent
#E246C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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