#654BB8#654BB8

#654BB8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.9% C 0.165 H 290.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#654BB8
RGBrgb(101, 75, 184)
HSLhsl(254, 43%, 51%)
HSVhsv(254, 59%, 72%)
CMYKcmyk(45.1%, 59.2%, 0%, 27.8%)
CIE-LABlab(40.01, 37.67, -54.19)
CIE-LCHlch(40.01, 66.00, 304.80°)
OKLaboklab(49.87% 0.0566 -0.1546)
OKLCHoklch(49.87% 0.165 290.1)
XYZxyz(16.5322, 11.2590, 46.6402)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BB8 #9EB84B
analogous
#4B67B8 #654BB8 #9B4BB8
triadic
#654BB8 #B8654B #4BB865
tetradic
#654BB8 #B84B67 #9EB84B #4BB89B
square
#654BB8 #B84B67 #9EB84B #4BB89B
split-complementary
#654BB8 #B89B4B #67B84B
monochromatic
#352762 #4C388E #654BB8 #8B77C9 #B0A3DB

Accessibility & contrast

On white

6.46
#654BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#654BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BB8
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BB8#FFFFFF#000000##FFFFFF
##654BB81.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#4C637A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654bb8;
/* rgb */ color: rgb(101, 75, 184);
/* oklch */ color: oklch(49.9% 0.165 290.1);
Tailwind
colors: {
  custom: {
    50: '#977ece',
    500: '#654bb8',
    950: '#000000',
  },
}
SCSS
$custom: #654bb8;
$custom-light: #977ece;
$custom-dark: #000000;
JSON
{
  "hex": "#654bb8",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 184
  },
  "hsl": {
    "h": 254.312,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49869,
    "c": 0.16467,
    "h": 290.1
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#654BB8
secondary
#BCC897
accent
#D355B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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