#654DCA#654DCA

#654DCA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.5% C 0.185 H 286.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#654DCA
RGBrgb(101, 77, 202)
HSLhsl(252, 54%, 55%)
HSVhsv(252, 62%, 79%)
CMYKcmyk(50%, 61.9%, 0%, 20.8%)
CIE-LABlab(41.75, 41.78, -61.87)
CIE-LCHlch(41.75, 74.66, 304.03°)
OKLaboklab(51.55% 0.0535 -0.1772)
OKLCHoklch(51.55% 0.185 286.8)
XYZxyz(18.6782, 12.3378, 57.2629)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DCA #B2CA4D
analogous
#4D74CA #654DCA #A44DCA
triadic
#654DCA #CA654D #4DCA65
tetradic
#654DCA #CA4D74 #B2CA4D #4DCAA4
square
#654DCA #CA4D74 #B2CA4D #4DCAA4
split-complementary
#654DCA #CAA44D #74CA4D
monochromatic
#342479 #4932A8 #654DCA #8E7CD8 #B7ABE6

Accessibility & contrast

On white

6.06
#654DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#654DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DCA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DCA#FFFFFF#000000##FFFFFF
##654DCA1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#416B84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654dca;
/* rgb */ color: rgb(101, 77, 202);
/* oklch */ color: oklch(51.5% 0.185 286.8);
Tailwind
colors: {
  custom: {
    50: '#9980db',
    500: '#654dca',
    950: '#000000',
  },
}
SCSS
$custom: #654dca;
$custom-light: #9980db;
$custom-dark: #000000;
JSON
{
  "hex": "#654dca",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 202
  },
  "hsl": {
    "h": 251.52,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51546,
    "c": 0.18513,
    "h": 286.8
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#654DCA
secondary
#CAD49F
accent
#DD4AC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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