#654CB2#654CB2

#654CB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.155 H 290.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#654CB2
RGBrgb(101, 76, 178)
HSLhsl(255, 40%, 50%)
HSVhsv(255, 57%, 70%)
CMYKcmyk(43.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(39.83, 35.34, -50.95)
CIE-LCHlch(39.83, 62.01, 304.75°)
OKLaboklab(49.6% 0.0555 -0.1451)
OKLCHoklch(49.6% 0.155 290.9)
XYZxyz(15.9849, 11.1494, 43.4207)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB2 #99B24C
analogous
#4C66B2 #654CB2 #984CB2
triadic
#654CB2 #B2654C #4CB265
tetradic
#654CB2 #B24C66 #99B24C #4CB298
square
#654CB2 #B24C66 #99B24C #4CB298
split-complementary
#654CB2 #B2984C #66B24C
monochromatic
#34275C #4D3A87 #654CB2 #8A76C5 #AFA1D7

Accessibility & contrast

On white

6.50
#654CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#654CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB2
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB2#FFFFFF#000000##FFFFFF
##654CB21.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F60B5
Deuteranopia (green-blind)
#175CB0
Tritanopia (blue-blind)
#4F6277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654cb2;
/* rgb */ color: rgb(101, 76, 178);
/* oklch */ color: oklch(49.6% 0.155 290.9);
Tailwind
colors: {
  custom: {
    50: '#967fca',
    500: '#654cb2',
    950: '#000000',
  },
}
SCSS
$custom: #654cb2;
$custom-light: #967fca;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb2",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 254.706,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.15536,
    "h": 290.9
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#654CB2
secondary
#B9C496
accent
#D058B3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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