#654AE4#654AE4

#654AE4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.221 H 284.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#654AE4
RGBrgb(101, 74, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 68%, 89%)
CMYKcmyk(55.7%, 67.5%, 0%, 10.6%)
CIE-LABlab(43.16, 51.14, -74.47)
CIE-LCHlch(43.16, 90.34, 304.48°)
OKLaboklab(53.2% 0.0534 -0.2142)
OKLCHoklch(53.2% 0.221 284)
XYZxyz(21.8149, 13.2644, 74.7945)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE4 #C9E44A
analogous
#4A7CE4 #654AE4 #B24AE4
triadic
#654AE4 #E4654A #4AE465
tetradic
#654AE4 #E44A7C #C9E44A #4AE4B2
square
#654AE4 #E44A7C #C9E44A #4AE4B2
split-complementary
#654AE4 #E4B24A #7CE44A
monochromatic
#2F179C #3F1FD2 #654AE4 #927FEC #C0B5F4

Accessibility & contrast

On white

5.75
#654AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#654AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AE4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AE4#FFFFFF#000000##FFFFFF
##654AE41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#267291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ae4;
/* rgb */ color: rgb(101, 74, 228);
/* oklch */ color: oklch(53.2% 0.221 284.0);
Tailwind
colors: {
  custom: {
    50: '#9d7fee',
    500: '#654ae4',
    950: '#000000',
  },
}
SCSS
$custom: #654ae4;
$custom-light: #9d7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae4",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 250.519,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53201,
    "c": 0.22079,
    "h": 284
  },
  "luminance": 0.13266
}

Semantic roles & 50–950 ramp

primary
#654AE4
secondary
#D8E3A7
accent
#F137D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #654AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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