#654FCD#654FCD

#654FCD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.186 H 286.0°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#654FCD
RGBrgb(101, 79, 205)
HSLhsl(250, 56%, 56%)
HSVhsv(250, 61%, 80%)
CMYKcmyk(50.7%, 61.5%, 0%, 19.6%)
CIE-LABlab(42.41, 41.51, -62.53)
CIE-LCHlch(42.41, 75.06, 303.58°)
OKLaboklab(52.1% 0.0513 -0.1792)
OKLCHoklch(52.1% 0.186 286)
XYZxyz(19.1790, 12.7655, 59.1992)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FCD #B7CD4F
analogous
#4F78CD #654FCD #A44FCD
triadic
#654FCD #CD654F #4FCD65
tetradic
#654FCD #CD4F78 #B7CD4F #4FCDA4
square
#654FCD #CD4F78 #B7CD4F #4FCDA4
split-complementary
#654FCD #CDA44F #78CD4F
monochromatic
#33247E #4731AE #654FCD #8F7FDB #B8AEE8

Accessibility & contrast

On white

5.91
#654FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#654FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FCD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FCD#FFFFFF#000000##FFFFFF
##654FCD1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#3E6D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654fcd;
/* rgb */ color: rgb(101, 79, 205);
/* oklch */ color: oklch(52.1% 0.186 286.0);
Tailwind
colors: {
  custom: {
    50: '#9981dd',
    500: '#654fcd',
    950: '#000000',
  },
}
SCSS
$custom: #654fcd;
$custom-light: #9981dd;
$custom-dark: #000000;
JSON
{
  "hex": "#654fcd",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 250.476,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.18635,
    "h": 286
  },
  "luminance": 0.12766
}

Semantic roles & 50–950 ramp

primary
#654FCD
secondary
#CDD6A2
accent
#DF49C5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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