#654DCC#654DCC

#654DCC is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.7% C 0.188 H 286.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#654DCC
RGBrgb(101, 77, 204)
HSLhsl(251, 55%, 55%)
HSVhsv(251, 62%, 80%)
CMYKcmyk(50.5%, 62.3%, 0%, 20%)
CIE-LABlab(41.90, 42.37, -62.79)
CIE-LCHlch(41.90, 75.75, 304.01°)
OKLaboklab(51.7% 0.0534 -0.1799)
OKLCHoklch(51.7% 0.188 286.5)
XYZxyz(18.9166, 12.4332, 58.5181)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DCC #B4CC4D
analogous
#4D74CC #654DCC #A54DCC
triadic
#654DCC #CC654D #4DCC65
tetradic
#654DCC #CC4D74 #B4CC4D #4DCCA5
square
#654DCC #CC4D74 #B4CC4D #4DCCA5
split-complementary
#654DCC #CCA54D #74CC4D
monochromatic
#34237B #4831AB #654DCC #8E7DDA #B7ACE7

Accessibility & contrast

On white

6.02
#654DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#654DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DCC
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DCC#FFFFFF#000000##FFFFFF
##654DCC1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#3F6B85
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654dcc;
/* rgb */ color: rgb(101, 77, 204);
/* oklch */ color: oklch(51.7% 0.188 286.5);
Tailwind
colors: {
  custom: {
    50: '#9980dc',
    500: '#654dcc',
    950: '#000000',
  },
}
SCSS
$custom: #654dcc;
$custom-light: #9980dc;
$custom-dark: #000000;
JSON
{
  "hex": "#654dcc",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 204
  },
  "hsl": {
    "h": 251.339,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.18767,
    "h": 286.5
  },
  "luminance": 0.12434
}

Semantic roles & 50–950 ramp

primary
#654DCC
secondary
#CBD5A0
accent
#DF49C2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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