#654BC3#654BC3

#654BC3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.179 H 288.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#654BC3
RGBrgb(101, 75, 195)
HSLhsl(253, 50%, 53%)
HSVhsv(253, 62%, 76%)
CMYKcmyk(48.2%, 61.5%, 0%, 23.5%)
CIE-LABlab(40.80, 40.88, -59.35)
CIE-LCHlch(40.80, 72.07, 304.56°)
OKLaboklab(50.69% 0.0561 -0.1698)
OKLCHoklch(50.69% 0.179 288.3)
XYZxyz(17.7304, 11.7382, 52.9507)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC3 #A9C34B
analogous
#4B6DC3 #654BC3 #A14BC3
triadic
#654BC3 #C3654B #4BC365
tetradic
#654BC3 #C34B6D #A9C34B #4BC3A1
square
#654BC3 #C34B6D #A9C34B #4BC3A1
split-complementary
#654BC3 #C3A14B #6DC34B
monochromatic
#35256F #4B349D #654BC3 #8C79D2 #B4A7E2

Accessibility & contrast

On white

6.27
#654BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#654BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC3
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC3#FFFFFF#000000##FFFFFF
##654BC31.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#466780
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654bc3;
/* rgb */ color: rgb(101, 75, 195);
/* oklch */ color: oklch(50.7% 0.179 288.3);
Tailwind
colors: {
  custom: {
    50: '#987ed6',
    500: '#654bc3',
    950: '#000000',
  },
}
SCSS
$custom: #654bc3;
$custom-light: #987ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc3",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 253,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.17884,
    "h": 288.3
  },
  "luminance": 0.11739
}

Semantic roles & 50–950 ramp

primary
#654BC3
secondary
#C4CF9B
accent
#DA4EBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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