#654CDF#654CDF

#654CDF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.1% C 0.212 H 284.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#654CDF
RGBrgb(101, 76, 223)
HSLhsl(250, 70%, 59%)
HSVhsv(250, 66%, 87%)
CMYKcmyk(54.7%, 65.9%, 0%, 12.5%)
CIE-LABlab(43.16, 48.56, -71.63)
CIE-LCHlch(43.16, 86.54, 304.14°)
OKLaboklab(53.07% 0.0524 -0.2059)
OKLCHoklch(53.07% 0.212 284.3)
XYZxyz(21.2665, 13.2621, 71.2370)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CDF #C6DF4C
analogous
#4C7CDF #654CDF #AE4CDF
triadic
#654CDF #DF654C #4CDF65
tetradic
#654CDF #DF4C7C #C6DF4C #4CDFAE
square
#654CDF #DF4C7C #C6DF4C #4CDFAE
split-complementary
#654CDF #DFAE4C #7CDF4C
monochromatic
#301B96 #4024CA #654CDF #9280E8 #BEB4F2

Accessibility & contrast

On white

5.75
#654CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#654CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CDF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CDF#FFFFFF#000000##FFFFFF
##654CDF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#2D718F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654cdf;
/* rgb */ color: rgb(101, 76, 223);
/* oklch */ color: oklch(53.1% 0.212 284.3);
Tailwind
colors: {
  custom: {
    50: '#9c80ea',
    500: '#654cdf',
    950: '#000000',
  },
}
SCSS
$custom: #654cdf;
$custom-light: #9c80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#654cdf",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 223
  },
  "hsl": {
    "h": 250.204,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53073,
    "c": 0.21246,
    "h": 284.3
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#654CDF
secondary
#D7E0A6
accent
#EC3BCE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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