#654AE2#654AE2

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

Color values

HEX#654AE2
RGBrgb(101, 74, 226)
HSLhsl(251, 72%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(55.3%, 67.3%, 0%, 11.4%)
CIE-LABlab(42.99, 50.55, -73.60)
CIE-LCHlch(42.99, 89.29, 304.48°)
OKLaboklab(53.03% 0.0537 -0.2117)
OKLCHoklch(53.03% 0.218 284.2)
XYZxyz(21.5389, 13.1540, 73.3408)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE2 #C7E24A
analogous
#4A7BE2 #654AE2 #B14AE2
triadic
#654AE2 #E2654A #4AE265
tetradic
#654AE2 #E24A7B #C7E24A #4AE2B1
square
#654AE2 #E24A7B #C7E24A #4AE2B1
split-complementary
#654AE2 #E2B14A #7BE24A
monochromatic
#2F1999 #4021CE #654AE2 #927FEA #BFB3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654AE2#FFFFFF#000000##FFFFFF
##654AE21.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)
#006AE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#297190
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ae2;
/* rgb */ color: rgb(101, 74, 226);
/* oklch */ color: oklch(53.0% 0.218 284.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fec',
    500: '#654ae2',
    950: '#000000',
  },
}
SCSS
$custom: #654ae2;
$custom-light: #9c7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae2",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 226
  },
  "hsl": {
    "h": 250.658,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53032,
    "c": 0.21839,
    "h": 284.2
  },
  "luminance": 0.13155
}

Semantic roles & 50–950 ramp

primary
#654AE2
secondary
#D7E2A6
accent
#EF39CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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