#654AE5#654AE5

#654AE5 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.222 H 283.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#654AE5
RGBrgb(101, 74, 229)
HSLhsl(250, 75%, 59%)
HSVhsv(250, 68%, 90%)
CMYKcmyk(55.9%, 67.7%, 0%, 10.2%)
CIE-LABlab(43.24, 51.43, -74.90)
CIE-LCHlch(43.24, 90.86, 304.47°)
OKLaboklab(53.29% 0.0533 -0.2155)
OKLCHoklch(53.29% 0.222 283.9)
XYZxyz(21.9541, 13.3201, 75.5277)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE5 #CAE54A
analogous
#4A7CE5 #654AE5 #B34AE5
triadic
#654AE5 #E5654A #4AE565
tetradic
#654AE5 #E54A7C #CAE54A #4AE5B3
square
#654AE5 #E54A7C #CAE54A #4AE5B3
split-complementary
#654AE5 #E5B34A #7CE54A
monochromatic
#2E179E #3E1ED3 #654AE5 #9380ED #C0B5F4

Accessibility & contrast

On white

5.73
#654AE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#654AE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AE5
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AE5#FFFFFF#000000##FFFFFF
##654AE51.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#247292
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ae5;
/* rgb */ color: rgb(101, 74, 229);
/* oklch */ color: oklch(53.3% 0.222 283.9);
Tailwind
colors: {
  custom: {
    50: '#9d7fee',
    500: '#654ae5',
    950: '#000000',
  },
}
SCSS
$custom: #654ae5;
$custom-light: #9d7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae5",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 229
  },
  "hsl": {
    "h": 250.452,
    "s": 74.879,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53286,
    "c": 0.22198,
    "h": 283.9
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#654AE5
secondary
#D9E4A7
accent
#F136D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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