#654DBE#654DBE

#654DBE is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.6% C 0.170 H 288.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#654DBE
RGBrgb(101, 77, 190)
HSLhsl(253, 47%, 52%)
HSVhsv(253, 59%, 75%)
CMYKcmyk(46.8%, 59.5%, 0%, 25.5%)
CIE-LABlab(40.88, 38.24, -56.30)
CIE-LCHlch(40.88, 68.06, 304.19°)
OKLaboklab(50.64% 0.0542 -0.1608)
OKLCHoklch(50.64% 0.17 288.6)
XYZxyz(17.3123, 11.7915, 50.0690)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DBE #A6BE4D
analogous
#4D6EBE #654DBE #9D4DBE
triadic
#654DBE #BE654D #4DBE65
tetradic
#654DBE #BE4D6E #A6BE4D #4DBE9D
square
#654DBE #BE4D6E #A6BE4D #4DBE9D
split-complementary
#654DBE #BE9D4D #6EBE4D
monochromatic
#35276A #4B3797 #654DBE #8C7ACE #B3A7DF

Accessibility & contrast

On white

6.25
#654DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#654DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DBE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DBE#FFFFFF#000000##FFFFFF
##654DBE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#48677E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654dbe;
/* rgb */ color: rgb(101, 77, 190);
/* oklch */ color: oklch(50.6% 0.170 288.6);
Tailwind
colors: {
  custom: {
    50: '#9780d2',
    500: '#654dbe',
    950: '#000000',
  },
}
SCSS
$custom: #654dbe;
$custom-light: #9780d2;
$custom-dark: #000000;
JSON
{
  "hex": "#654dbe",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 252.743,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.1697,
    "h": 288.6
  },
  "luminance": 0.11792
}

Semantic roles & 50–950 ramp

primary
#654DBE
secondary
#C2CC9B
accent
#D652BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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