#654BD4#654BD4

#654BD4 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.0% C 0.200 H 285.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#654BD4
RGBrgb(101, 75, 212)
HSLhsl(251, 61%, 56%)
HSVhsv(251, 65%, 83%)
CMYKcmyk(52.4%, 64.6%, 0%, 16.9%)
CIE-LABlab(42.08, 45.87, -67.10)
CIE-LCHlch(42.08, 81.28, 304.36°)
OKLaboklab(52.03% 0.0546 -0.1926)
OKLCHoklch(52.03% 0.2 285.8)
XYZxyz(19.7630, 12.5513, 63.6559)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD4 #BAD44B
analogous
#4B76D4 #654BD4 #AA4BD4
triadic
#654BD4 #D4654B #4BD465
tetradic
#654BD4 #D44B76 #BAD44B #4BD4AA
square
#654BD4 #D44B76 #BAD44B #4BD4AA
split-complementary
#654BD4 #D4AA4B #76D44B
monochromatic
#332085 #462CB6 #654BD4 #8F7CE0 #BAAEEC

Accessibility & contrast

On white

5.98
#654BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#654BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD4
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD4#FFFFFF#000000##FFFFFF
##654BD41.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#396D89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654bd4;
/* rgb */ color: rgb(101, 75, 212);
/* oklch */ color: oklch(52.0% 0.200 285.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fe2',
    500: '#654bd4',
    950: '#000000',
  },
}
SCSS
$custom: #654bd4;
$custom-light: #9a7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd4",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 251.387,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.20018,
    "h": 285.8
  },
  "luminance": 0.12552
}

Semantic roles & 50–950 ramp

primary
#654BD4
secondary
#CFDAA1
accent
#E543C6
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #654BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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