#654EA2#654EA2

#654EA2 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.131 H 293.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#654EA2
RGBrgb(101, 78, 162)
HSLhsl(256, 35%, 47%)
HSVhsv(256, 52%, 64%)
CMYKcmyk(37.7%, 51.9%, 0%, 36.5%)
CIE-LABlab(39.28, 29.56, -42.33)
CIE-LCHlch(39.28, 51.63, 304.93°)
OKLaboklab(48.87% 0.0524 -0.1198)
OKLCHoklch(48.87% 0.131 293.6)
XYZxyz(14.6111, 10.8238, 35.4948)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654EA2 #8BA24E
analogous
#4E61A2 #654EA2 #8F4EA2
triadic
#654EA2 #A2654E #4EA265
tetradic
#654EA2 #A24E61 #8BA24E #4EA28F
square
#654EA2 #A24E61 #8BA24E #4EA28F
split-complementary
#654EA2 #A28F4E #61A24E
monochromatic
#31264F #4B3A79 #654EA2 #8672BB #AA9BCF

Accessibility & contrast

On white

6.64
#654EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#654EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654EA2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654EA2#FFFFFF#000000##FFFFFF
##654EA21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5DA5
Deuteranopia (green-blind)
#315BA0
Tritanopia (blue-blind)
#565F70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654ea2;
/* rgb */ color: rgb(101, 78, 162);
/* oklch */ color: oklch(48.9% 0.131 293.6);
Tailwind
colors: {
  custom: {
    50: '#9480be',
    500: '#654ea2',
    950: '#000000',
  },
}
SCSS
$custom: #654ea2;
$custom-light: #9480be;
$custom-dark: #000000;
JSON
{
  "hex": "#654ea2",
  "rgb": {
    "r": 101,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 256.429,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48869,
    "c": 0.13073,
    "h": 293.6
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#654EA2
secondary
#B0BC90
accent
#CB5DAD
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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