#654ED4#654ED4

#654ED4 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.196 H 285.3°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#654ED4
RGBrgb(101, 78, 212)
HSLhsl(250, 61%, 57%)
HSVhsv(250, 63%, 83%)
CMYKcmyk(52.4%, 63.2%, 0%, 16.9%)
CIE-LABlab(42.71, 44.17, -66.06)
CIE-LCHlch(42.71, 79.47, 303.77°)
OKLaboklab(52.49% 0.0517 -0.1895)
OKLCHoklch(52.49% 0.196 285.3)
XYZxyz(19.9713, 12.9679, 63.7253)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED4 #BDD44E
analogous
#4E7AD4 #654ED4 #A84ED4
triadic
#654ED4 #D4654E #4ED465
tetradic
#654ED4 #D44E7A #BDD44E #4ED4A8
square
#654ED4 #D44E7A #BDD44E #4ED4A8
split-complementary
#654ED4 #D4A84E #7AD44E
monochromatic
#322187 #452DB8 #654ED4 #907FE0 #BBB0EC

Accessibility & contrast

On white

5.84
#654ED4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#654ED4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED4
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED4#FFFFFF#000000##FFFFFF
##654ED41.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#386F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654ed4;
/* rgb */ color: rgb(101, 78, 212);
/* oklch */ color: oklch(52.5% 0.196 285.3);
Tailwind
colors: {
  custom: {
    50: '#9a81e2',
    500: '#654ed4',
    950: '#000000',
  },
}
SCSS
$custom: #654ed4;
$custom-light: #9a81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed4",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 212
  },
  "hsl": {
    "h": 250.299,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52486,
    "c": 0.19648,
    "h": 285.3
  },
  "luminance": 0.12969
}

Semantic roles & 50–950 ramp

primary
#654ED4
secondary
#D1DAA4
accent
#E444C9
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A15
muted
#7F7C84

Preview Lab

Preview with #654ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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