#654CB1#654CB1

#654CB1 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.5% C 0.154 H 291.1°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#654CB1
RGBrgb(101, 76, 177)
HSLhsl(255, 40%, 50%)
HSVhsv(255, 57%, 69%)
CMYKcmyk(42.9%, 57.1%, 0%, 30.6%)
CIE-LABlab(39.76, 35.05, -50.47)
CIE-LCHlch(39.76, 61.45, 304.78°)
OKLaboklab(49.53% 0.0555 -0.1437)
OKLCHoklch(49.53% 0.154 291.1)
XYZxyz(15.8849, 11.1094, 42.8938)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB1 #98B14C
analogous
#4C66B1 #654CB1 #974CB1
triadic
#654CB1 #B1654C #4CB165
tetradic
#654CB1 #B14C66 #98B14C #4CB197
square
#654CB1 #B14C66 #98B14C #4CB197
split-complementary
#654CB1 #B1974C #66B14C
monochromatic
#34275B #4D3A86 #654CB1 #8976C4 #AEA1D7

Accessibility & contrast

On white

6.52
#654CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#654CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB1
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB1#FFFFFF#000000##FFFFFF
##654CB11.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#195CAF
Tritanopia (blue-blind)
#506277
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654cb1;
/* rgb */ color: rgb(101, 76, 177);
/* oklch */ color: oklch(49.5% 0.154 291.1);
Tailwind
colors: {
  custom: {
    50: '#967fc9',
    500: '#654cb1',
    950: '#000000',
  },
}
SCSS
$custom: #654cb1;
$custom-light: #967fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb1",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 254.851,
    "s": 39.921,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49533,
    "c": 0.15404,
    "h": 291.1
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#654CB1
secondary
#B8C395
accent
#D058B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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