#654CDB#654CDB

#654CDB is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.7% C 0.208 H 284.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#654CDB
RGBrgb(101, 76, 219)
HSLhsl(250, 67%, 58%)
HSVhsv(250, 65%, 86%)
CMYKcmyk(53.9%, 65.3%, 0%, 14.1%)
CIE-LABlab(42.84, 47.38, -69.87)
CIE-LCHlch(42.84, 84.42, 304.14°)
OKLaboklab(52.74% 0.0529 -0.2007)
OKLCHoklch(52.74% 0.208 284.8)
XYZxyz(20.7336, 13.0489, 68.4303)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CDB #C2DB4C
analogous
#4C7ADB #654CDB #AD4CDB
triadic
#654CDB #DB654C #4CDB65
tetradic
#654CDB #DB4C7A #C2DB4C #4CDBAD
square
#654CDB #DB4C7A #C2DB4C #4CDBAD
split-complementary
#654CDB #DBAD4C #7ADB4C
monochromatic
#311D90 #4227C3 #654CDB #917FE5 #BDB2EF

Accessibility & contrast

On white

5.82
#654CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#654CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CDB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CDB#FFFFFF#000000##FFFFFF
##654CDB1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#31708D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654cdb;
/* rgb */ color: rgb(101, 76, 219);
/* oklch */ color: oklch(52.7% 0.208 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b80e7',
    500: '#654cdb',
    950: '#000000',
  },
}
SCSS
$custom: #654cdb;
$custom-light: #9b80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#654cdb",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 250.49,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52744,
    "c": 0.20758,
    "h": 284.8
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#654CDB
secondary
#D4DEA5
accent
#E93ECC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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