#654ED8#654ED8

#654ED8 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 52.8% C 0.201 H 284.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#654ED8
RGBrgb(101, 78, 216)
HSLhsl(250, 64%, 58%)
HSVhsv(250, 64%, 85%)
CMYKcmyk(53.2%, 63.9%, 0%, 15.3%)
CIE-LABlab(43.02, 45.36, -67.85)
CIE-LCHlch(43.02, 81.62, 303.76°)
OKLaboklab(52.8% 0.0514 -0.1948)
OKLCHoklch(52.8% 0.201 284.8)
XYZxyz(20.4821, 13.1722, 66.4157)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED8 #C1D84E
analogous
#4E7CD8 #654ED8 #AA4ED8
triadic
#654ED8 #D8654E #4ED865
tetradic
#654ED8 #D84E7C #C1D84E #4ED8AA
square
#654ED8 #D84E7C #C1D84E #4ED8AA
split-complementary
#654ED8 #D8AA4E #7CD84E
monochromatic
#311F8D #432ABF #654ED8 #9180E3 #BCB2EE

Accessibility & contrast

On white

5.78
#654ED8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#654ED8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED8#FFFFFF#000000##FFFFFF
##654ED81.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#34708C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ed8;
/* rgb */ color: rgb(101, 78, 216);
/* oklch */ color: oklch(52.8% 0.201 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b81e5',
    500: '#654ed8',
    950: '#000000',
  },
}
SCSS
$custom: #654ed8;
$custom-light: #9b81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed8",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 216
  },
  "hsl": {
    "h": 250,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52804,
    "c": 0.20147,
    "h": 284.8
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#654ED8
secondary
#D3DDA5
accent
#E741CB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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