#654CCB#654CCB

#654CCB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.188 H 286.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#654CCB
RGBrgb(101, 76, 203)
HSLhsl(252, 55%, 55%)
HSVhsv(252, 63%, 80%)
CMYKcmyk(50.2%, 62.6%, 0%, 20.4%)
CIE-LABlab(41.61, 42.65, -62.68)
CIE-LCHlch(41.61, 75.82, 304.23°)
OKLaboklab(51.47% 0.0545 -0.1796)
OKLCHoklch(51.47% 0.188 286.9)
XYZxyz(18.7276, 12.2465, 57.8654)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CCB #B2CB4C
analogous
#4C73CB #654CCB #A54CCB
triadic
#654CCB #CB654C #4CCB65
tetradic
#654CCB #CB4C73 #B2CB4C #4CCBA5
square
#654CCB #CB4C73 #B2CB4C #4CCBA5
split-complementary
#654CCB #CBA54C #73CB4C
monochromatic
#342379 #4931A9 #654CCB #8E7BD9 #B7ABE7

Accessibility & contrast

On white

6.09
#654CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#654CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CCB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CCB#FFFFFF#000000##FFFFFF
##654CCB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654ccb;
/* rgb */ color: rgb(101, 76, 203);
/* oklch */ color: oklch(51.5% 0.188 286.9);
Tailwind
colors: {
  custom: {
    50: '#997fdc',
    500: '#654ccb',
    950: '#000000',
  },
}
SCSS
$custom: #654ccb;
$custom-light: #997fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#654ccb",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 251.811,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.18768,
    "h": 286.9
  },
  "luminance": 0.12247
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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