#654ED2#654ED2

#654ED2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.194 H 285.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#654ED2
RGBrgb(101, 78, 210)
HSLhsl(250, 59%, 56%)
HSVhsv(250, 63%, 82%)
CMYKcmyk(51.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(42.56, 43.58, -65.16)
CIE-LCHlch(42.56, 78.39, 303.77°)
OKLaboklab(52.33% 0.0519 -0.1869)
OKLCHoklch(52.33% 0.194 285.5)
XYZxyz(19.7206, 12.8676, 62.4048)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED2 #BBD24E
analogous
#4E79D2 #654ED2 #A74ED2
triadic
#654ED2 #D2654E #4ED265
tetradic
#654ED2 #D24E79 #BBD24E #4ED2A7
square
#654ED2 #D24E79 #BBD24E #4ED2A7
split-complementary
#654ED2 #D2A74E #79D24E
monochromatic
#332284 #452EB5 #654ED2 #8F7FDE #BAB0EB

Accessibility & contrast

On white

5.88
#654ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#654ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED2#FFFFFF#000000##FFFFFF
##654ED21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#3A6E89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654ed2;
/* rgb */ color: rgb(101, 78, 210);
/* oklch */ color: oklch(52.3% 0.194 285.5);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#654ed2',
    950: '#000000',
  },
}
SCSS
$custom: #654ed2;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed2",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 250.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.19397,
    "h": 285.5
  },
  "luminance": 0.12869
}

Semantic roles & 50–950 ramp

primary
#654ED2
secondary
#D0D9A3
accent
#E345C7
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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