#654ED7#654ED7

#654ED7 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.7% C 0.200 H 284.9°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#654ED7
RGBrgb(101, 78, 215)
HSLhsl(250, 63%, 57%)
HSVhsv(250, 64%, 84%)
CMYKcmyk(53%, 63.7%, 0%, 15.7%)
CIE-LABlab(42.94, 45.06, -67.41)
CIE-LCHlch(42.94, 81.08, 303.76°)
OKLaboklab(52.72% 0.0515 -0.1935)
OKLCHoklch(52.72% 0.2 284.9)
XYZxyz(20.3533, 13.1207, 65.7369)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654ED7 #C0D74E
analogous
#4E7BD7 #654ED7 #AA4ED7
triadic
#654ED7 #D7654E #4ED765
tetradic
#654ED7 #D74E7B #C0D74E #4ED7AA
square
#654ED7 #D74E7B #C0D74E #4ED7AA
split-complementary
#654ED7 #D7AA4E #7BD74E
monochromatic
#321F8B #432BBD #654ED7 #9080E2 #BCB2EE

Accessibility & contrast

On white

5.79
#654ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#654ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654ED7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654ED7#FFFFFF#000000##FFFFFF
##654ED71.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#35708B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654ed7;
/* rgb */ color: rgb(101, 78, 215);
/* oklch */ color: oklch(52.7% 0.200 284.9);
Tailwind
colors: {
  custom: {
    50: '#9b81e4',
    500: '#654ed7',
    950: '#000000',
  },
}
SCSS
$custom: #654ed7;
$custom-light: #9b81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#654ed7",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 250.073,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.20022,
    "h": 284.9
  },
  "luminance": 0.13122
}

Semantic roles & 50–950 ramp

primary
#654ED7
secondary
#D3DCA5
accent
#E642CB
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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