#654BD9#654BD9

#654BD9 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.4% C 0.206 H 285.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#654BD9
RGBrgb(101, 75, 217)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53.5%, 65.4%, 0%, 14.9%)
CIE-LABlab(42.47, 47.35, -69.32)
CIE-LCHlch(42.47, 83.95, 304.33°)
OKLaboklab(52.43% 0.054 -0.1991)
OKLCHoklch(52.43% 0.206 285.2)
XYZxyz(20.4035, 12.8075, 67.0292)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD9 #BFD94B
analogous
#4B78D9 #654BD9 #AC4BD9
triadic
#654BD9 #D9654B #4BD965
tetradic
#654BD9 #D94B78 #BFD94B #4BD9AC
square
#654BD9 #D94B78 #BFD94B #4BD9AC
split-complementary
#654BD9 #D9AC4B #78D94B
monochromatic
#321E8C #4428BF #654BD9 #907EE4 #BBB0EE

Accessibility & contrast

On white

5.90
#654BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#654BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD9
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD9#FFFFFF#000000##FFFFFF
##654BD91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#346F8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654bd9;
/* rgb */ color: rgb(101, 75, 217);
/* oklch */ color: oklch(52.4% 0.206 285.2);
Tailwind
colors: {
  custom: {
    50: '#9b7fe6',
    500: '#654bd9',
    950: '#000000',
  },
}
SCSS
$custom: #654bd9;
$custom-light: #9b7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd9",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 250.986,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52431,
    "c": 0.20632,
    "h": 285.2
  },
  "luminance": 0.12809
}

Semantic roles & 50–950 ramp

primary
#654BD9
secondary
#D2DDA3
accent
#E840C9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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