#654CAF#654CAF

#654CAF is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.151 H 291.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#654CAF
RGBrgb(101, 76, 175)
HSLhsl(255, 39%, 49%)
HSVhsv(255, 57%, 69%)
CMYKcmyk(42.3%, 56.6%, 0%, 31.4%)
CIE-LABlab(39.63, 34.47, -49.50)
CIE-LCHlch(39.63, 60.32, 304.86°)
OKLaboklab(49.39% 0.0555 -0.1408)
OKLCHoklch(49.39% 0.151 291.5)
XYZxyz(15.6870, 11.0303, 41.8517)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CAF #96AF4C
analogous
#4C64AF #654CAF #974CAF
triadic
#654CAF #AF654C #4CAF65
tetradic
#654CAF #AF4C64 #96AF4C #4CAF97
square
#654CAF #AF4C64 #96AF4C #4CAF97
split-complementary
#654CAF #AF974C #64AF4C
monochromatic
#34275A #4C3984 #654CAF #8975C3 #ADA0D6

Accessibility & contrast

On white

6.55
#654CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#654CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CAF
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CAF#FFFFFF#000000##FFFFFF
##654CAF1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#1D5BAD
Tritanopia (blue-blind)
#506176
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654caf;
/* rgb */ color: rgb(101, 76, 175);
/* oklch */ color: oklch(49.4% 0.151 291.5);
Tailwind
colors: {
  custom: {
    50: '#967fc7',
    500: '#654caf',
    950: '#000000',
  },
}
SCSS
$custom: #654caf;
$custom-light: #967fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#654caf",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 175
  },
  "hsl": {
    "h": 255.152,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49393,
    "c": 0.15138,
    "h": 291.5
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#654CAF
secondary
#B7C294
accent
#CF58B1
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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