#654BBE#654BBE

#654BBE is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.172 H 289.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#654BBE
RGBrgb(101, 75, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 61%, 75%)
CMYKcmyk(46.8%, 60.5%, 0%, 25.5%)
CIE-LABlab(40.44, 39.41, -57.02)
CIE-LCHlch(40.44, 69.32, 304.65°)
OKLaboklab(50.31% 0.0564 -0.163)
OKLCHoklch(50.31% 0.172 289.1)
XYZxyz(17.1745, 11.5159, 50.0231)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BBE #A4BE4B
analogous
#4B6BBE #654BBE #9F4BBE
triadic
#654BBE #BE654B #4BBE65
tetradic
#654BBE #BE4B6B #A4BE4B #4BBE9F
square
#654BBE #BE4B6B #A4BE4B #4BBE9F
split-complementary
#654BBE #BE9F4B #6BBE4B
monochromatic
#352669 #4C3696 #654BBE #8B78CE #B2A5DE

Accessibility & contrast

On white

6.36
#654BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#654BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BBE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BBE#FFFFFF#000000##FFFFFF
##654BBE1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#49657D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654bbe;
/* rgb */ color: rgb(101, 75, 190);
/* oklch */ color: oklch(50.3% 0.172 289.1);
Tailwind
colors: {
  custom: {
    50: '#977ed2',
    500: '#654bbe',
    950: '#000000',
  },
}
SCSS
$custom: #654bbe;
$custom-light: #977ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#654bbe",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 253.565,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50313,
    "c": 0.17244,
    "h": 289.1
  },
  "luminance": 0.11517
}

Semantic roles & 50–950 ramp

primary
#654BBE
secondary
#C0CC99
accent
#D751B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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