#654DD8#654DD8

#654DD8 is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.203 H 285.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#654DD8
RGBrgb(101, 77, 216)
HSLhsl(250, 64%, 57%)
HSVhsv(250, 64%, 85%)
CMYKcmyk(53.2%, 64.4%, 0%, 15.3%)
CIE-LABlab(42.81, 45.93, -68.20)
CIE-LCHlch(42.81, 82.22, 303.96°)
OKLaboklab(52.65% 0.0523 -0.1958)
OKLCHoklch(52.65% 0.203 285)
XYZxyz(20.4116, 13.0312, 66.3922)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DD8 #C0D84D
analogous
#4D7AD8 #654DD8 #AB4DD8
triadic
#654DD8 #D8654D #4DD865
tetradic
#654DD8 #D84D7A #C0D84D #4DD8AB
square
#654DD8 #D84D7A #C0D84D #4DD8AB
split-complementary
#654DD8 #D8AB4D #7AD84D
monochromatic
#321F8C #432ABE #654DD8 #907FE3 #BCB1EE

Accessibility & contrast

On white

5.82
#654DD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#654DD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DD8
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DD8#FFFFFF#000000##FFFFFF
##654DD81.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#346F8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654dd8;
/* rgb */ color: rgb(101, 77, 216);
/* oklch */ color: oklch(52.7% 0.203 285.0);
Tailwind
colors: {
  custom: {
    50: '#9b80e5',
    500: '#654dd8',
    950: '#000000',
  },
}
SCSS
$custom: #654dd8;
$custom-light: #9b80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#654dd8",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 216
  },
  "hsl": {
    "h": 250.36,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52651,
    "c": 0.20268,
    "h": 285
  },
  "luminance": 0.13032
}

Semantic roles & 50–950 ramp

primary
#654DD8
secondary
#D3DCA4
accent
#E741CA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654DD8

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

Preview Lab → · Contrast checker → · Palette generator →

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