#654FBE#654FBE

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

Color values

HEX#654FBE
RGBrgb(101, 79, 190)
HSLhsl(252, 46%, 53%)
HSVhsv(252, 58%, 75%)
CMYKcmyk(46.8%, 58.4%, 0%, 25.5%)
CIE-LABlab(41.34, 37.06, -55.56)
CIE-LCHlch(41.34, 66.79, 303.70°)
OKLaboklab(50.97% 0.0519 -0.1587)
OKLCHoklch(50.97% 0.167 288.1)
XYZxyz(17.4544, 12.0757, 50.1164)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FBE #A8BE4F
analogous
#4F70BE #654FBE #9C4FBE
triadic
#654FBE #BE654F #4FBE65
tetradic
#654FBE #BE4F70 #A8BE4F #4FBE9C
square
#654FBE #BE4F70 #A8BE4F #4FBE9C
split-complementary
#654FBE #BE9C4F #70BE4F
monochromatic
#35286B #4B3898 #654FBE #8C7CCF #B3A8DF

Accessibility & contrast

On white

6.15
#654FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654FBE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FBE#FFFFFF#000000##FFFFFF
##654FBE1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#48687F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654fbe;
/* rgb */ color: rgb(101, 79, 190);
/* oklch */ color: oklch(51.0% 0.167 288.1);
Tailwind
colors: {
  custom: {
    50: '#9781d2',
    500: '#654fbe',
    950: '#000000',
  },
}
SCSS
$custom: #654fbe;
$custom-light: #9781d2;
$custom-dark: #000000;
JSON
{
  "hex": "#654fbe",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 251.892,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50973,
    "c": 0.16694,
    "h": 288.1
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#654FBE
secondary
#C3CC9C
accent
#D652BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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