#654CD8#654CD8

#654CD8 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.5% C 0.204 H 285.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#654CD8
RGBrgb(101, 76, 216)
HSLhsl(251, 64%, 57%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53.2%, 64.8%, 0%, 15.3%)
CIE-LABlab(42.60, 46.49, -68.54)
CIE-LCHlch(42.60, 82.82, 304.15°)
OKLaboklab(52.5% 0.0532 -0.1968)
OKLCHoklch(52.5% 0.204 285.1)
XYZxyz(20.3422, 12.8923, 66.3690)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CD8 #BFD84C
analogous
#4C79D8 #654CD8 #AB4CD8
triadic
#654CD8 #D8654C #4CD865
tetradic
#654CD8 #D84C79 #BFD84C #4CD8AB
square
#654CD8 #D84C79 #BFD84C #4CD8AB
split-complementary
#654CD8 #D8AB4C #79D84C
monochromatic
#321E8B #4429BE #654CD8 #907EE3 #BBB1EE

Accessibility & contrast

On white

5.87
#654CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#654CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CD8
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CD8#FFFFFF#000000##FFFFFF
##654CD81.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#356F8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654cd8;
/* rgb */ color: rgb(101, 76, 216);
/* oklch */ color: oklch(52.5% 0.204 285.1);
Tailwind
colors: {
  custom: {
    50: '#9b80e5',
    500: '#654cd8',
    950: '#000000',
  },
}
SCSS
$custom: #654cd8;
$custom-light: #9b80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#654cd8",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 250.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52499,
    "c": 0.20389,
    "h": 285.1
  },
  "luminance": 0.12893
}

Semantic roles & 50–950 ramp

primary
#654CD8
secondary
#D2DCA4
accent
#E741C9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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