#654BCC#654BCC

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

Color values

HEX#654BCC
RGBrgb(101, 75, 204)
HSLhsl(252, 56%, 55%)
HSVhsv(252, 63%, 80%)
CMYKcmyk(50.5%, 63.2%, 0%, 20%)
CIE-LABlab(41.47, 43.52, -63.49)
CIE-LCHlch(41.47, 76.97, 304.43°)
OKLaboklab(51.39% 0.0554 -0.182)
OKLCHoklch(51.39% 0.19 286.9)
XYZxyz(18.7788, 12.1576, 58.4722)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BCC #B2CC4B
analogous
#4B72CC #654BCC #A64BCC
triadic
#654BCC #CC654B #4BCC65
tetradic
#654BCC #CC4B72 #B2CC4B #4BCCA6
square
#654BCC #CC4B72 #B2CC4B #4BCCA6
split-complementary
#654BCC #CCA64B #72CC4B
monochromatic
#34237A #4930AA #654BCC #8E7BDA #B7AAE7

Accessibility & contrast

On white

6.12
#654BCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#654BCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BCC
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BCC#FFFFFF#000000##FFFFFF
##654BCC1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#005EC9
Tritanopia (blue-blind)
#3F6A85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654bcc;
/* rgb */ color: rgb(101, 75, 204);
/* oklch */ color: oklch(51.4% 0.190 286.9);
Tailwind
colors: {
  custom: {
    50: '#997fdc',
    500: '#654bcc',
    950: '#000000',
  },
}
SCSS
$custom: #654bcc;
$custom-light: #997fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#654bcc",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 204
  },
  "hsl": {
    "h": 252.093,
    "s": 55.844,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.19022,
    "h": 286.9
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#654BCC
secondary
#CAD59E
accent
#DF49C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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