#654AAA#654AAA

#654AAA is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.148 H 293.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#654AAA
RGBrgb(101, 74, 170)
HSLhsl(257, 39%, 48%)
HSVhsv(257, 56%, 67%)
CMYKcmyk(40.6%, 56.5%, 0%, 33.3%)
CIE-LABlab(38.84, 34.24, -47.81)
CIE-LCHlch(38.84, 58.80, 305.61°)
OKLaboklab(48.7% 0.0579 -0.1359)
OKLCHoklch(48.7% 0.148 293.1)
XYZxyz(15.0694, 10.5662, 39.2679)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AAA #8FAA4A
analogous
#4A5FAA #654AAA #954AAA
triadic
#654AAA #AA654A #4AAA65
tetradic
#654AAA #AA4A5F #8FAA4A #4AAA95
square
#654AAA #AA4A5F #8FAA4A #4AAA95
split-complementary
#654AAA #AA954A #5FAA4A
monochromatic
#322555 #4C377F #654AAA #8770C1 #AB9BD3

Accessibility & contrast

On white

6.75
#654AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#654AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654AAA
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654AAA#FFFFFF#000000##FFFFFF
##654AAA1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAD
Deuteranopia (green-blind)
#215AA8
Tritanopia (blue-blind)
#535E73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654aaa;
/* rgb */ color: rgb(101, 74, 170);
/* oklch */ color: oklch(48.7% 0.148 293.1);
Tailwind
colors: {
  custom: {
    50: '#957dc4',
    500: '#654aaa',
    950: '#000000',
  },
}
SCSS
$custom: #654aaa;
$custom-light: #957dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#654aaa",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 256.875,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.1477,
    "h": 293.1
  },
  "luminance": 0.10567
}

Semantic roles & 50–950 ramp

primary
#654AAA
secondary
#B2C090
accent
#CF59AE
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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