#654BD7#654BD7

#654BD7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.3% C 0.204 H 285.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#654BD7
RGBrgb(101, 75, 215)
HSLhsl(251, 64%, 57%)
HSVhsv(251, 65%, 84%)
CMYKcmyk(53%, 65.1%, 0%, 15.7%)
CIE-LABlab(42.31, 46.76, -68.44)
CIE-LCHlch(42.31, 82.88, 304.34°)
OKLaboklab(52.27% 0.0543 -0.1965)
OKLCHoklch(52.27% 0.204 285.4)
XYZxyz(20.1450, 12.7041, 65.6674)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD7 #BDD74B
analogous
#4B77D7 #654BD7 #AB4BD7
triadic
#654BD7 #D7654B #4BD765
tetradic
#654BD7 #D74B77 #BDD74B #4BD7AB
square
#654BD7 #D74B77 #BDD74B #4BD7AB
split-complementary
#654BD7 #D7AB4B #77D74B
monochromatic
#321E89 #452ABB #654BD7 #907DE2 #BBAFED

Accessibility & contrast

On white

5.93
#654BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#654BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD7#FFFFFF#000000##FFFFFF
##654BD71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#0060D4
Tritanopia (blue-blind)
#366E8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654bd7;
/* rgb */ color: rgb(101, 75, 215);
/* oklch */ color: oklch(52.3% 0.204 285.4);
Tailwind
colors: {
  custom: {
    50: '#9b7fe4',
    500: '#654bd7',
    950: '#000000',
  },
}
SCSS
$custom: #654bd7;
$custom-light: #9b7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd7",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 251.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.20387,
    "h": 285.4
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#654BD7
secondary
#D1DBA2
accent
#E741C8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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