#654BC9#654BC9

#654BC9 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.186 H 287.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#654BC9
RGBrgb(101, 75, 201)
HSLhsl(252, 54%, 54%)
HSVhsv(252, 63%, 79%)
CMYKcmyk(49.8%, 62.7%, 0%, 21.2%)
CIE-LABlab(41.24, 42.64, -62.12)
CIE-LCHlch(41.24, 75.34, 304.46°)
OKLaboklab(51.15% 0.0557 -0.1779)
OKLCHoklch(51.15% 0.186 287.4)
XYZxyz(18.4224, 12.0151, 56.5955)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC9 #AFC94B
analogous
#4B70C9 #654BC9 #A44BC9
triadic
#654BC9 #C9654B #4BC965
tetradic
#654BC9 #C94B70 #AFC94B #4BC9A4
square
#654BC9 #C94B70 #AFC94B #4BC9A4
split-complementary
#654BC9 #C9A44B #70C94B
monochromatic
#352376 #4932A5 #654BC9 #8D7AD7 #B6A9E5

Accessibility & contrast

On white

6.17
#654BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#654BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC9#FFFFFF#000000##FFFFFF
##654BC91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#416983
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654bc9;
/* rgb */ color: rgb(101, 75, 201);
/* oklch */ color: oklch(51.2% 0.186 287.4);
Tailwind
colors: {
  custom: {
    50: '#997fda',
    500: '#654bc9',
    950: '#000000',
  },
}
SCSS
$custom: #654bc9;
$custom-light: #997fda;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc9",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 252.381,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51153,
    "c": 0.18645,
    "h": 287.4
  },
  "luminance": 0.12016
}

Semantic roles & 50–950 ramp

primary
#654BC9
secondary
#C8D39D
accent
#DD4BBF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #654BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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