#654BD5#654BD5

#654BD5 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.1% C 0.201 H 285.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#654BD5
RGBrgb(101, 75, 213)
HSLhsl(251, 62%, 56%)
HSVhsv(251, 65%, 84%)
CMYKcmyk(52.6%, 64.8%, 0%, 16.5%)
CIE-LABlab(42.16, 46.17, -67.54)
CIE-LCHlch(42.16, 81.82, 304.35°)
OKLaboklab(52.11% 0.0545 -0.1939)
OKLCHoklch(52.11% 0.201 285.7)
XYZxyz(19.8896, 12.6019, 64.3223)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD5 #BBD54B
analogous
#4B76D5 #654BD5 #AA4BD5
triadic
#654BD5 #D5654B #4BD565
tetradic
#654BD5 #D54B76 #BBD54B #4BD5AA
square
#654BD5 #D54B76 #BBD54B #4BD5AA
split-complementary
#654BD5 #D5AA4B #76D54B
monochromatic
#331F86 #452BB8 #654BD5 #8F7DE1 #BAAEEC

Accessibility & contrast

On white

5.96
#654BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#654BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD5#FFFFFF#000000##FFFFFF
##654BD51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#386D89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654bd5;
/* rgb */ color: rgb(101, 75, 213);
/* oklch */ color: oklch(52.1% 0.201 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a7fe3',
    500: '#654bd5',
    950: '#000000',
  },
}
SCSS
$custom: #654bd5;
$custom-light: #9a7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd5",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 251.304,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52105,
    "c": 0.20142,
    "h": 285.7
  },
  "luminance": 0.12603
}

Semantic roles & 50–950 ramp

primary
#654BD5
secondary
#D0DAA2
accent
#E543C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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