#654CD5#654CD5

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

Color values

HEX#654CD5
RGBrgb(101, 76, 213)
HSLhsl(251, 62%, 57%)
HSVhsv(251, 64%, 84%)
CMYKcmyk(52.6%, 64.3%, 0%, 16.5%)
CIE-LABlab(42.37, 45.61, -67.20)
CIE-LCHlch(42.37, 81.22, 304.16°)
OKLaboklab(52.26% 0.0536 -0.1929)
OKLCHoklch(52.26% 0.2 285.5)
XYZxyz(19.9579, 12.7386, 64.3451)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CD5 #BCD54C
analogous
#4C78D5 #654CD5 #AA4CD5
triadic
#654CD5 #D5654C #4CD565
tetradic
#654CD5 #D54C78 #BCD54C #4CD5AA
square
#654CD5 #D54C78 #BCD54C #4CD5AA
split-complementary
#654CD5 #D5AA4C #78D54C
monochromatic
#332087 #452BB9 #654CD5 #907EE1 #BAAFEC

Accessibility & contrast

On white

5.92
#654CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#654CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CD5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CD5#FFFFFF#000000##FFFFFF
##654CD51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#386E8A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654cd5;
/* rgb */ color: rgb(101, 76, 213);
/* oklch */ color: oklch(52.3% 0.200 285.5);
Tailwind
colors: {
  custom: {
    50: '#9a7fe3',
    500: '#654cd5',
    950: '#000000',
  },
}
SCSS
$custom: #654cd5;
$custom-light: #9a7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#654cd5",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 250.949,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.20019,
    "h": 285.5
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#654CD5
secondary
#D0DAA2
accent
#E543C7
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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