#654CD9#654CD9

#654CD9 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.6% C 0.205 H 285.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#654CD9
RGBrgb(101, 76, 217)
HSLhsl(251, 65%, 57%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53.5%, 65%, 0%, 14.9%)
CIE-LABlab(42.68, 46.79, -68.99)
CIE-LCHlch(42.68, 83.36, 304.15°)
OKLaboklab(52.58% 0.0531 -0.1981)
OKLCHoklch(52.58% 0.205 285)
XYZxyz(20.4719, 12.9442, 67.0519)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CD9 #C0D94C
analogous
#4C7AD9 #654CD9 #AB4CD9
triadic
#654CD9 #D9654C #4CD965
tetradic
#654CD9 #D94C7A #C0D94C #4CD9AB
square
#654CD9 #D94C7A #C0D94C #4CD9AB
split-complementary
#654CD9 #D9AB4C #7AD94C
monochromatic
#321E8D #4329BF #654CD9 #907EE4 #BCB1EE

Accessibility & contrast

On white

5.85
#654CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#654CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CD9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CD9#FFFFFF#000000##FFFFFF
##654CD91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#346F8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654cd9;
/* rgb */ color: rgb(101, 76, 217);
/* oklch */ color: oklch(52.6% 0.205 285.0);
Tailwind
colors: {
  custom: {
    50: '#9b80e6',
    500: '#654cd9',
    950: '#000000',
  },
}
SCSS
$custom: #654cd9;
$custom-light: #9b80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#654cd9",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 250.638,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52581,
    "c": 0.20513,
    "h": 285
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#654CD9
secondary
#D3DDA4
accent
#E840CA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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