#654CD3#654CD3

#654CD3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.198 H 285.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#654CD3
RGBrgb(101, 76, 211)
HSLhsl(251, 61%, 56%)
HSVhsv(251, 64%, 83%)
CMYKcmyk(52.1%, 64%, 0%, 17.3%)
CIE-LABlab(42.21, 45.01, -66.31)
CIE-LCHlch(42.21, 80.14, 304.17°)
OKLaboklab(52.1% 0.0538 -0.1903)
OKLCHoklch(52.1% 0.198 285.8)
XYZxyz(19.7056, 12.6377, 63.0164)
Luminance0.1264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CD3 #BAD34C
analogous
#4C77D3 #654CD3 #A94CD3
triadic
#654CD3 #D3654C #4CD365
tetradic
#654CD3 #D34C77 #BAD34C #4CD3A9
square
#654CD3 #D34C77 #BAD34C #4CD3A9
split-complementary
#654CD3 #D3A94C #77D34C
monochromatic
#332084 #462DB5 #654CD3 #8F7DDF #BAAEEB

Accessibility & contrast

On white

5.95
#654CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#654CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CD3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CD3#FFFFFF#000000##FFFFFF
##654CD31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#396D89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654cd3;
/* rgb */ color: rgb(101, 76, 211);
/* oklch */ color: oklch(52.1% 0.198 285.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fe1',
    500: '#654cd3',
    950: '#000000',
  },
}
SCSS
$custom: #654cd3;
$custom-light: #9a7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#654cd3",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 251.111,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.19771,
    "h": 285.8
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#654CD3
secondary
#CFD9A2
accent
#E444C6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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