#654FC2#654FC2

#654FC2 is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.3% C 0.172 H 287.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#654FC2
RGBrgb(101, 79, 194)
HSLhsl(251, 49%, 54%)
HSVhsv(251, 59%, 76%)
CMYKcmyk(47.9%, 59.3%, 0%, 23.9%)
CIE-LABlab(41.62, 38.24, -57.44)
CIE-LCHlch(41.62, 69.01, 303.65°)
OKLaboklab(51.27% 0.0518 -0.1642)
OKLCHoklch(51.27% 0.172 287.5)
XYZxyz(17.8976, 12.2529, 52.4505)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FC2 #ACC24F
analogous
#4F72C2 #654FC2 #9E4FC2
triadic
#654FC2 #C2654F #4FC265
tetradic
#654FC2 #C24F72 #ACC24F #4FC29E
square
#654FC2 #C24F72 #ACC24F #4FC29E
split-complementary
#654FC2 #C29E4F #72C24F
monochromatic
#352770 #4A379D #654FC2 #8D7CD2 #B5AAE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654FC2#FFFFFF#000000##FFFFFF
##654FC21.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)
#0065C6
Deuteranopia (green-blind)
#005FC0
Tritanopia (blue-blind)
#466981
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654fc2;
/* rgb */ color: rgb(101, 79, 194);
/* oklch */ color: oklch(51.3% 0.172 287.5);
Tailwind
colors: {
  custom: {
    50: '#9881d5',
    500: '#654fc2',
    950: '#000000',
  },
}
SCSS
$custom: #654fc2;
$custom-light: #9881d5;
$custom-dark: #000000;
JSON
{
  "hex": "#654fc2",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 194
  },
  "hsl": {
    "h": 251.478,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51267,
    "c": 0.17217,
    "h": 287.5
  },
  "luminance": 0.12254
}

Semantic roles & 50–950 ramp

primary
#654FC2
secondary
#C6CF9E
accent
#D850BE
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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