#654CD2#654CD2

#654CD2 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.0% C 0.196 H 285.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#654CD2
RGBrgb(101, 76, 210)
HSLhsl(251, 60%, 56%)
HSVhsv(251, 64%, 82%)
CMYKcmyk(51.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(42.14, 44.72, -65.86)
CIE-LCHlch(42.14, 79.60, 304.18°)
OKLaboklab(52.02% 0.0539 -0.1889)
OKLCHoklch(52.02% 0.196 285.9)
XYZxyz(19.5807, 12.5877, 62.3582)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CD2 #B9D24C
analogous
#4C76D2 #654CD2 #A84CD2
triadic
#654CD2 #D2654C #4CD265
tetradic
#654CD2 #D24C76 #B9D24C #4CD2A8
square
#654CD2 #D24C76 #B9D24C #4CD2A8
split-complementary
#654CD2 #D2A84C #76D24C
monochromatic
#332183 #462DB4 #654CD2 #8F7DDE #B9AEEB

Accessibility & contrast

On white

5.97
#654CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#654CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CD2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CD2#FFFFFF#000000##FFFFFF
##654CD21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#3A6D88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654cd2;
/* rgb */ color: rgb(101, 76, 210);
/* oklch */ color: oklch(52.0% 0.196 285.9);
Tailwind
colors: {
  custom: {
    50: '#9a7fe1',
    500: '#654cd2',
    950: '#000000',
  },
}
SCSS
$custom: #654cd2;
$custom-light: #9a7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#654cd2",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 251.194,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.19646,
    "h": 285.9
  },
  "luminance": 0.12589
}

Semantic roles & 50–950 ramp

primary
#654CD2
secondary
#CED9A1
accent
#E345C5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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