#654AD4#654AD4

#654AD4 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 51.9% C 0.201 H 286.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#654AD4
RGBrgb(101, 74, 212)
HSLhsl(252, 62%, 56%)
HSVhsv(252, 65%, 83%)
CMYKcmyk(52.4%, 65.1%, 0%, 16.9%)
CIE-LABlab(41.87, 46.44, -67.44)
CIE-LCHlch(41.87, 81.88, 304.55°)
OKLaboklab(51.87% 0.0556 -0.1936)
OKLCHoklch(51.87% 0.201 286)
XYZxyz(19.6957, 12.4167, 63.6334)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AD4 #B9D44A
analogous
#4A74D4 #654AD4 #AA4AD4
triadic
#654AD4 #D4654A #4AD465
tetradic
#654AD4 #D44A74 #B9D44A #4AD4AA
square
#654AD4 #D44A74 #B9D44A #4AD4AA
split-complementary
#654AD4 #D4AA4A #74D44A
monochromatic
#331F84 #462BB6 #654AD4 #8F7BE0 #B9ADEB

Accessibility & contrast

On white

6.03
#654AD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#654AD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AD4
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AD4#FFFFFF#000000##FFFFFF
##654AD41.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D8
Deuteranopia (green-blind)
#005FD1
Tritanopia (blue-blind)
#396C88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654ad4;
/* rgb */ color: rgb(101, 74, 212);
/* oklch */ color: oklch(51.9% 0.201 286.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ee2',
    500: '#654ad4',
    950: '#000000',
  },
}
SCSS
$custom: #654ad4;
$custom-light: #9a7ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#654ad4",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 212
  },
  "hsl": {
    "h": 251.739,
    "s": 61.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51874,
    "c": 0.2014,
    "h": 286
  },
  "luminance": 0.12418
}

Semantic roles & 50–950 ramp

primary
#654AD4
secondary
#CED9A0
accent
#E543C5
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #654AD4

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

Preview Lab → · Contrast checker → · Palette generator →

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