#654FBF#654FBF

#654FBF is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.0% C 0.168 H 288.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#654FBF
RGBrgb(101, 79, 191)
HSLhsl(252, 47%, 53%)
HSVhsv(252, 59%, 75%)
CMYKcmyk(47.1%, 58.6%, 0%, 25.1%)
CIE-LABlab(41.41, 37.36, -56.04)
CIE-LCHlch(41.41, 67.35, 303.69°)
OKLaboklab(51.05% 0.0519 -0.16)
OKLCHoklch(51.05% 0.168 288)
XYZxyz(17.5641, 12.1195, 50.6940)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FBF #A9BF4F
analogous
#4F71BF #654FBF #9D4FBF
triadic
#654FBF #BF654F #4FBF65
tetradic
#654FBF #BF4F71 #A9BF4F #4FBF9D
square
#654FBF #BF4F71 #A9BF4F #4FBF9D
split-complementary
#654FBF #BF9D4F #71BF4F
monochromatic
#35276C #4B3899 #654FBF #8C7CCF #B4A9E0

Accessibility & contrast

On white

6.13
#654FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#654FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FBF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FBF#FFFFFF#000000##FFFFFF
##654FBF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#48687F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #654fbf;
/* rgb */ color: rgb(101, 79, 191);
/* oklch */ color: oklch(51.0% 0.168 288.0);
Tailwind
colors: {
  custom: {
    50: '#9781d3',
    500: '#654fbf',
    950: '#000000',
  },
}
SCSS
$custom: #654fbf;
$custom-light: #9781d3;
$custom-dark: #000000;
JSON
{
  "hex": "#654fbf",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 251.786,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.16825,
    "h": 288
  },
  "luminance": 0.1212
}

Semantic roles & 50–950 ramp

primary
#654FBF
secondary
#C4CD9D
accent
#D651BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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