#654AEA#654AEA

#654AEA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.228 H 283.3°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#654AEA
RGBrgb(101, 74, 234)
HSLhsl(250, 79%, 60%)
HSVhsv(250, 68%, 92%)
CMYKcmyk(56.8%, 68.4%, 0%, 8.2%)
CIE-LABlab(43.66, 52.90, -77.05)
CIE-LCHlch(43.66, 93.46, 304.47°)
OKLaboklab(53.71% 0.0525 -0.2218)
OKLCHoklch(53.71% 0.228 283.3)
XYZxyz(22.6623, 13.6033, 79.2575)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AEA #CFEA4A
analogous
#4A7FEA #654AEA #B54AEA
triadic
#654AEA #EA654A #4AEA65
tetradic
#654AEA #EA4A7F #CFEA4A #4AEAB5
square
#654AEA #EA4A7F #CFEA4A #4AEAB5
split-complementary
#654AEA #EAB54A #7FEA4A
monochromatic
#2C13A6 #3B1ADD #654AEA #9481F0 #C2B8F7

Accessibility & contrast

On white

5.64
#654AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#654AEA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AEA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AEA#FFFFFF#000000##FFFFFF
##654AEA1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEF
Deuteranopia (green-blind)
#0062E7
Tritanopia (blue-blind)
#1B7494
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654aea;
/* rgb */ color: rgb(101, 74, 234);
/* oklch */ color: oklch(53.7% 0.228 283.3);
Tailwind
colors: {
  custom: {
    50: '#9e7ff2',
    500: '#654aea',
    950: '#000000',
  },
}
SCSS
$custom: #654aea;
$custom-light: #9e7ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#654aea",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 234
  },
  "hsl": {
    "h": 250.125,
    "s": 79.208,
    "l": 60.392
  },
  "oklch": {
    "l": 0.53713,
    "c": 0.22792,
    "h": 283.3
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#654AEA
secondary
#DCE6A9
accent
#DC0AB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #654AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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