#654ED3#654ED3

#654ED3 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.4% C 0.195 H 285.4°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#654ED3
RGBrgb(101, 78, 211)
HSLhsl(250, 60%, 57%)
HSVhsv(250, 63%, 83%)
CMYKcmyk(52.1%, 63%, 0%, 17.3%)
CIE-LABlab(42.64, 43.87, -65.61)
CIE-LCHlch(42.64, 78.93, 303.77°)
OKLaboklab(52.41% 0.0518 -0.1882)
OKLCHoklch(52.41% 0.195 285.4)
XYZxyz(19.8456, 12.9176, 63.0630)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED3 #BCD34E
analogous
#4E7AD3 #654ED3 #A84ED3
triadic
#654ED3 #D3654E #4ED365
tetradic
#654ED3 #D34E7A #BCD34E #4ED3A8
square
#654ED3 #D34E7A #BCD34E #4ED3A8
split-complementary
#654ED3 #D3A84E #7AD34E
monochromatic
#332185 #452DB6 #654ED3 #907FDF #BAB0EB

Accessibility & contrast

On white

5.86
#654ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#654ED3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED3#FFFFFF#000000##FFFFFF
##654ED31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#396E89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654ed3;
/* rgb */ color: rgb(101, 78, 211);
/* oklch */ color: oklch(52.4% 0.195 285.4);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#654ed3',
    950: '#000000',
  },
}
SCSS
$custom: #654ed3;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed3",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 211
  },
  "hsl": {
    "h": 250.376,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.19522,
    "h": 285.4
  },
  "luminance": 0.12919
}

Semantic roles & 50–950 ramp

primary
#654ED3
secondary
#D0DAA3
accent
#E344C8
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654ED3

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

Preview Lab → · Contrast checker → · Palette generator →

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