#654FCC#654FCC

#654FCC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.0% C 0.185 H 286.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#654FCC
RGBrgb(101, 79, 204)
HSLhsl(251, 55%, 55%)
HSVhsv(251, 61%, 80%)
CMYKcmyk(50.5%, 61.3%, 0%, 20%)
CIE-LABlab(42.33, 41.21, -62.07)
CIE-LCHlch(42.33, 74.51, 303.58°)
OKLaboklab(52.02% 0.0513 -0.1778)
OKLCHoklch(52.02% 0.185 286.1)
XYZxyz(19.0587, 12.7174, 58.5655)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FCC #B6CC4F
analogous
#4F77CC #654FCC #A34FCC
triadic
#654FCC #CC654F #4FCC65
tetradic
#654FCC #CC4F77 #B6CC4F #4FCCA3
square
#654FCC #CC4F77 #B6CC4F #4FCCA3
split-complementary
#654FCC #CCA34F #77CC4F
monochromatic
#34247D #4732AC #654FCC #8F7EDA #B8AEE7

Accessibility & contrast

On white

5.93
#654FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#654FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FCC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FCC#FFFFFF#000000##FFFFFF
##654FCC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#3F6D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654fcc;
/* rgb */ color: rgb(101, 79, 204);
/* oklch */ color: oklch(52.0% 0.185 286.1);
Tailwind
colors: {
  custom: {
    50: '#9981dc',
    500: '#654fcc',
    950: '#000000',
  },
}
SCSS
$custom: #654fcc;
$custom-light: #9981dc;
$custom-dark: #000000;
JSON
{
  "hex": "#654fcc",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 250.56,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52021,
    "c": 0.18507,
    "h": 286.1
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#654FCC
secondary
#CCD5A1
accent
#DE49C4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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