#654CB0#654CB0

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

Color values

HEX#654CB0
RGBrgb(101, 76, 176)
HSLhsl(255, 40%, 49%)
HSVhsv(255, 57%, 69%)
CMYKcmyk(42.6%, 56.8%, 0%, 31%)
CIE-LABlab(39.70, 34.76, -49.99)
CIE-LCHlch(39.70, 60.88, 304.82°)
OKLaboklab(49.46% 0.0555 -0.1423)
OKLCHoklch(49.46% 0.153 291.3)
XYZxyz(15.7856, 11.0697, 42.3708)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CB0 #97B04C
analogous
#4C65B0 #654CB0 #974CB0
triadic
#654CB0 #B0654C #4CB065
tetradic
#654CB0 #B04C65 #97B04C #4CB097
square
#654CB0 #B04C65 #97B04C #4CB097
split-complementary
#654CB0 #B0974C #65B04C
monochromatic
#34275B #4C3A85 #654CB0 #8976C4 #AEA0D6

Accessibility & contrast

On white

6.53
#654CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#654CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CB0
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CB0#FFFFFF#000000##FFFFFF
##654CB01.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145FB3
Deuteranopia (green-blind)
#1B5BAE
Tritanopia (blue-blind)
#506276
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654cb0;
/* rgb */ color: rgb(101, 76, 176);
/* oklch */ color: oklch(49.5% 0.153 291.3);
Tailwind
colors: {
  custom: {
    50: '#967fc8',
    500: '#654cb0',
    950: '#000000',
  },
}
SCSS
$custom: #654cb0;
$custom-light: #967fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#654cb0",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 176
  },
  "hsl": {
    "h": 255,
    "s": 39.683,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.15271,
    "h": 291.3
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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