#654FC0#654FC0

#654FC0 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.170 H 287.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#654FC0
RGBrgb(101, 79, 192)
HSLhsl(252, 47%, 53%)
HSVhsv(252, 59%, 75%)
CMYKcmyk(47.4%, 58.9%, 0%, 24.7%)
CIE-LABlab(41.48, 37.65, -56.51)
CIE-LCHlch(41.48, 67.90, 303.68°)
OKLaboklab(51.12% 0.0519 -0.1614)
OKLCHoklch(51.12% 0.17 287.8)
XYZxyz(17.6745, 12.1637, 51.2755)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FC0 #AAC04F
analogous
#4F72C0 #654FC0 #9D4FC0
triadic
#654FC0 #C0654F #4FC065
tetradic
#654FC0 #C04F72 #AAC04F #4FC09D
square
#654FC0 #C04F72 #AAC04F #4FC09D
split-complementary
#654FC0 #C09D4F #72C04F
monochromatic
#35276D #4B379A #654FC0 #8C7CD0 #B4A9E0

Accessibility & contrast

On white

6.12
#654FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#654FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FC0
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FC0#FFFFFF#000000##FFFFFF
##654FC01.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#476980
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654fc0;
/* rgb */ color: rgb(101, 79, 192);
/* oklch */ color: oklch(51.1% 0.170 287.8);
Tailwind
colors: {
  custom: {
    50: '#9781d4',
    500: '#654fc0',
    950: '#000000',
  },
}
SCSS
$custom: #654fc0;
$custom-light: #9781d4;
$custom-dark: #000000;
JSON
{
  "hex": "#654fc0",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 251.681,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.16956,
    "h": 287.8
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#654FC0
secondary
#C4CE9D
accent
#D751BD
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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