#654FC7#654FC7

#654FC7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.179 H 286.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#654FC7
RGBrgb(101, 79, 199)
HSLhsl(251, 52%, 55%)
HSVhsv(251, 60%, 78%)
CMYKcmyk(49.2%, 60.3%, 0%, 22%)
CIE-LABlab(41.97, 39.73, -59.77)
CIE-LCHlch(41.97, 71.77, 303.61°)
OKLaboklab(51.64% 0.0516 -0.171)
OKLCHoklch(51.64% 0.179 286.8)
XYZxyz(18.4686, 12.4813, 55.4578)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FC7 #B1C74F
analogous
#4F75C7 #654FC7 #A14FC7
triadic
#654FC7 #C7654F #4FC765
tetradic
#654FC7 #C74F75 #B1C74F #4FC7A1
square
#654FC7 #C74F75 #B1C74F #4FC7A1
split-complementary
#654FC7 #C7A14F #75C74F
monochromatic
#342676 #4934A4 #654FC7 #8E7DD6 #B6ACE5

Accessibility & contrast

On white

6.01
#654FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#654FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FC7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FC7#FFFFFF#000000##FFFFFF
##654FC71.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#426B83
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654fc7;
/* rgb */ color: rgb(101, 79, 199);
/* oklch */ color: oklch(51.6% 0.179 286.8);
Tailwind
colors: {
  custom: {
    50: '#9881d9',
    500: '#654fc7',
    950: '#000000',
  },
}
SCSS
$custom: #654fc7;
$custom-light: #9881d9;
$custom-dark: #000000;
JSON
{
  "hex": "#654fc7",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 251,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.17866,
    "h": 286.8
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#654FC7
secondary
#C9D2A0
accent
#DB4DC1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #654FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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