#654EBF#654EBF

#654EBF is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.170 H 288.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#654EBF
RGBrgb(101, 78, 191)
HSLhsl(252, 47%, 53%)
HSVhsv(252, 59%, 75%)
CMYKcmyk(47.1%, 59.2%, 0%, 25.1%)
CIE-LABlab(41.18, 37.95, -56.40)
CIE-LCHlch(41.18, 67.98, 303.93°)
OKLaboklab(50.88% 0.053 -0.1611)
OKLCHoklch(50.88% 0.17 288.2)
XYZxyz(17.4925, 11.9764, 50.6701)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EBF #A8BF4E
analogous
#4E70BF #654EBF #9D4EBF
triadic
#654EBF #BF654E #4EBF65
tetradic
#654EBF #BF4E70 #A8BF4E #4EBF9D
square
#654EBF #BF4E70 #A8BF4E #4EBF9D
split-complementary
#654EBF #BF9D4E #70BF4E
monochromatic
#35276C #4B3799 #654EBF #8C7BCF #B3A8E0

Accessibility & contrast

On white

6.18
#654EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#654EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EBF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EBF#FFFFFF#000000##FFFFFF
##654EBF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #654ebf;
/* rgb */ color: rgb(101, 78, 191);
/* oklch */ color: oklch(50.9% 0.170 288.2);
Tailwind
colors: {
  custom: {
    50: '#9780d3',
    500: '#654ebf',
    950: '#000000',
  },
}
SCSS
$custom: #654ebf;
$custom-light: #9780d3;
$custom-dark: #000000;
JSON
{
  "hex": "#654ebf",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 252.212,
    "s": 46.888,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.16963,
    "h": 288.2
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#654EBF
secondary
#C3CD9C
accent
#D751BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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