#654ED5#654ED5

#654ED5 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.198 H 285.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#654ED5
RGBrgb(101, 78, 213)
HSLhsl(250, 62%, 57%)
HSVhsv(250, 63%, 84%)
CMYKcmyk(52.6%, 63.4%, 0%, 16.5%)
CIE-LABlab(42.79, 44.47, -66.51)
CIE-LCHlch(42.79, 80.01, 303.77°)
OKLaboklab(52.57% 0.0517 -0.1909)
OKLCHoklch(52.57% 0.198 285.1)
XYZxyz(20.0979, 13.0185, 64.3917)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED5 #BED54E
analogous
#4E7BD5 #654ED5 #A84ED5
triadic
#654ED5 #D5654E #4ED565
tetradic
#654ED5 #D54E7B #BED54E #4ED5A8
square
#654ED5 #D54E7B #BED54E #4ED5A8
split-complementary
#654ED5 #D5A84E #7BD54E
monochromatic
#322088 #442CBA #654ED5 #907FE1 #BBB1EC

Accessibility & contrast

On white

5.83
#654ED5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#654ED5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED5
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED5#FFFFFF#000000##FFFFFF
##654ED51.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#376F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654ed5;
/* rgb */ color: rgb(101, 78, 213);
/* oklch */ color: oklch(52.6% 0.198 285.1);
Tailwind
colors: {
  custom: {
    50: '#9a81e3',
    500: '#654ed5',
    950: '#000000',
  },
}
SCSS
$custom: #654ed5;
$custom-light: #9a81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed5",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 213
  },
  "hsl": {
    "h": 250.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.19773,
    "h": 285.1
  },
  "luminance": 0.1302
}

Semantic roles & 50–950 ramp

primary
#654ED5
secondary
#D1DBA4
accent
#E543C9
background
#FAF7FE
surface
#F3EEFC
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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