#654BCB#654BCB

#654BCB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.189 H 287.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#654BCB
RGBrgb(101, 75, 203)
HSLhsl(252, 55%, 55%)
HSVhsv(252, 63%, 80%)
CMYKcmyk(50.2%, 63.1%, 0%, 20.4%)
CIE-LABlab(41.39, 43.22, -63.03)
CIE-LCHlch(41.39, 76.43, 304.44°)
OKLaboklab(51.31% 0.0555 -0.1806)
OKLCHoklch(51.31% 0.189 287.1)
XYZxyz(18.6592, 12.1098, 57.8426)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BCB #B1CB4B
analogous
#4B71CB #654BCB #A54BCB
triadic
#654BCB #CB654B #4BCB65
tetradic
#654BCB #CB4B71 #B1CB4B #4BCBA5
square
#654BCB #CB4B71 #B1CB4B #4BCBA5
split-complementary
#654BCB #CBA54B #71CB4B
monochromatic
#342379 #4931A8 #654BCB #8E7AD9 #B6AAE6

Accessibility & contrast

On white

6.14
#654BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#654BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BCB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BCB#FFFFFF#000000##FFFFFF
##654BCB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#406A84
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654bcb;
/* rgb */ color: rgb(101, 75, 203);
/* oklch */ color: oklch(51.3% 0.189 287.1);
Tailwind
colors: {
  custom: {
    50: '#997fdc',
    500: '#654bcb',
    950: '#000000',
  },
}
SCSS
$custom: #654bcb;
$custom-light: #997fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#654bcb",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 252.188,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51309,
    "c": 0.18897,
    "h": 287.1
  },
  "luminance": 0.12111
}

Semantic roles & 50–950 ramp

primary
#654BCB
secondary
#C9D49E
accent
#DF49C0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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