#654BBF#654BBF

#654BBF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.174 H 288.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#654BBF
RGBrgb(101, 75, 191)
HSLhsl(253, 48%, 52%)
HSVhsv(253, 61%, 75%)
CMYKcmyk(47.1%, 60.7%, 0%, 25.1%)
CIE-LABlab(40.51, 39.71, -57.49)
CIE-LCHlch(40.51, 69.87, 304.63°)
OKLaboklab(50.39% 0.0563 -0.1643)
OKLCHoklch(50.39% 0.174 288.9)
XYZxyz(17.2842, 11.5598, 50.6007)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BBF #A5BF4B
analogous
#4B6BBF #654BBF #9F4BBF
triadic
#654BBF #BF654B #4BBF65
tetradic
#654BBF #BF4B6B #A5BF4B #4BBF9F
square
#654BBF #BF4B6B #A5BF4B #4BBF9F
split-complementary
#654BBF #BF9F4B #6BBF4B
monochromatic
#35266A #4C3697 #654BBF #8C78CF #B2A5DF

Accessibility & contrast

On white

6.34
#654BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#654BBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BBF
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BBF#FFFFFF#000000##FFFFFF
##654BBF1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005DBD
Tritanopia (blue-blind)
#48667E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654bbf;
/* rgb */ color: rgb(101, 75, 191);
/* oklch */ color: oklch(50.4% 0.174 288.9);
Tailwind
colors: {
  custom: {
    50: '#987ed3',
    500: '#654bbf',
    950: '#000000',
  },
}
SCSS
$custom: #654bbf;
$custom-light: #987ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#654bbf",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 191
  },
  "hsl": {
    "h": 253.448,
    "s": 47.541,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.17372,
    "h": 288.9
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#654BBF
secondary
#C1CC9A
accent
#D751B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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