#654BD8#654BD8

#654BD8 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.3% C 0.205 H 285.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#654BD8
RGBrgb(101, 75, 216)
HSLhsl(251, 64%, 57%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53.2%, 65.3%, 0%, 15.3%)
CIE-LABlab(42.39, 47.05, -68.88)
CIE-LCHlch(42.39, 83.42, 304.34°)
OKLaboklab(52.35% 0.0542 -0.1978)
OKLCHoklch(52.35% 0.205 285.3)
XYZxyz(20.2738, 12.7556, 66.3462)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD8 #BED84B
analogous
#4B77D8 #654BD8 #AC4BD8
triadic
#654BD8 #D8654B #4BD865
tetradic
#654BD8 #D84B77 #BED84B #4BD8AC
square
#654BD8 #D84B77 #BED84B #4BD8AC
split-complementary
#654BD8 #D8AC4B #77D84B
monochromatic
#321E8B #4429BD #654BD8 #907DE3 #BBB0EE

Accessibility & contrast

On white

5.91
#654BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#654BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD8
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD8#FFFFFF#000000##FFFFFF
##654BD81.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#356E8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654bd8;
/* rgb */ color: rgb(101, 75, 216);
/* oklch */ color: oklch(52.3% 0.205 285.3);
Tailwind
colors: {
  custom: {
    50: '#9b7fe5',
    500: '#654bd8',
    950: '#000000',
  },
}
SCSS
$custom: #654bd8;
$custom-light: #9b7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd8",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 251.064,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52349,
    "c": 0.2051,
    "h": 285.3
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#654BD8
secondary
#D1DCA3
accent
#E740C9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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