#654AE1#654AE1

#654AE1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.217 H 284.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#654AE1
RGBrgb(101, 74, 225)
HSLhsl(251, 72%, 59%)
HSVhsv(251, 67%, 88%)
CMYKcmyk(55.1%, 67.1%, 0%, 11.8%)
CIE-LABlab(42.91, 50.26, -73.17)
CIE-LCHlch(42.91, 88.77, 304.48°)
OKLaboklab(52.95% 0.0539 -0.2104)
OKLCHoklch(52.95% 0.217 284.4)
XYZxyz(21.4021, 13.0992, 72.6202)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE1 #C6E14A
analogous
#4A7AE1 #654AE1 #B04AE1
triadic
#654AE1 #E1654A #4AE165
tetradic
#654AE1 #E14A7A #C6E14A #4AE1B0
square
#654AE1 #E14A7A #C6E14A #4AE1B0
split-complementary
#654AE1 #E1B04A #7AE14A
monochromatic
#301997 #4022CC #654AE1 #927EEA #BEB3F2

Accessibility & contrast

On white

5.80
#654AE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #654AE1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AE1#FFFFFF#000000##FFFFFF
##654AE11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE6
Deuteranopia (green-blind)
#0060DE
Tritanopia (blue-blind)
#2A718F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654ae1;
/* rgb */ color: rgb(101, 74, 225);
/* oklch */ color: oklch(52.9% 0.217 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c7eec',
    500: '#654ae1',
    950: '#000000',
  },
}
SCSS
$custom: #654ae1;
$custom-light: #9c7eec;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae1",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 250.728,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.21719,
    "h": 284.4
  },
  "luminance": 0.13101
}

Semantic roles & 50–950 ramp

primary
#654AE1
secondary
#D7E1A6
accent
#EE39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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