#654AEB#654AEB

#654AEB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.229 H 283.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#654AEB
RGBrgb(101, 74, 235)
HSLhsl(250, 80%, 61%)
HSVhsv(250, 69%, 92%)
CMYKcmyk(57%, 68.5%, 0%, 7.8%)
CIE-LABlab(43.74, 53.19, -77.48)
CIE-LCHlch(43.74, 93.98, 304.47°)
OKLaboklab(53.8% 0.0523 -0.223)
OKLCHoklch(53.8% 0.229 283.2)
XYZxyz(22.8064, 13.6610, 80.0162)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AEB #D0EB4A
analogous
#4A7FEB #654AEB #B54AEB
triadic
#654AEB #EB654A #4AEB65
tetradic
#654AEB #EB4A7F #D0EB4A #4AEBB5
square
#654AEB #EB4A7F #D0EB4A #4AEBB5
split-complementary
#654AEB #EBB54A #7FEB4A
monochromatic
#2C13A8 #3A19DF #654AEB #9481F1 #C3B8F7

Accessibility & contrast

On white

5.63
#654AEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#654AEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AEB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AEB#FFFFFF#000000##FFFFFF
##654AEB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#197495
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654aeb;
/* rgb */ color: rgb(101, 74, 235);
/* oklch */ color: oklch(53.8% 0.229 283.2);
Tailwind
colors: {
  custom: {
    50: '#9e7ff3',
    500: '#654aeb',
    950: '#000000',
  },
}
SCSS
$custom: #654aeb;
$custom-light: #9e7ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#654aeb",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 235
  },
  "hsl": {
    "h": 250.062,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.2291,
    "h": 283.2
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#654AEB
secondary
#DDE7AA
accent
#DC09B9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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