#654DCB#654DCB

#654DCB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.186 H 286.7°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#654DCB
RGBrgb(101, 77, 203)
HSLhsl(251, 55%, 55%)
HSVhsv(251, 62%, 80%)
CMYKcmyk(50.2%, 62.1%, 0%, 20.4%)
CIE-LABlab(41.82, 42.08, -62.33)
CIE-LCHlch(41.82, 75.20, 304.02°)
OKLaboklab(51.62% 0.0535 -0.1786)
OKLCHoklch(51.62% 0.186 286.7)
XYZxyz(18.7970, 12.3854, 57.8885)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DCB #B3CB4D
analogous
#4D74CB #654DCB #A44DCB
triadic
#654DCB #CB654D #4DCB65
tetradic
#654DCB #CB4D74 #B3CB4D #4DCBA4
square
#654DCB #CB4D74 #B3CB4D #4DCBA4
split-complementary
#654DCB #CBA44D #74CB4D
monochromatic
#34247A #4831A9 #654DCB #8E7CD9 #B7ACE7

Accessibility & contrast

On white

6.04
#654DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#654DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DCB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DCB#FFFFFF#000000##FFFFFF
##654DCB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#406B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654dcb;
/* rgb */ color: rgb(101, 77, 203);
/* oklch */ color: oklch(51.6% 0.186 286.7);
Tailwind
colors: {
  custom: {
    50: '#9980dc',
    500: '#654dcb',
    950: '#000000',
  },
}
SCSS
$custom: #654dcb;
$custom-light: #9980dc;
$custom-dark: #000000;
JSON
{
  "hex": "#654dcb",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 251.429,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.51624,
    "c": 0.18639,
    "h": 286.7
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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