#654DC2#654DC2

#654DC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.175 H 288.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#654DC2
RGBrgb(101, 77, 194)
HSLhsl(252, 49%, 53%)
HSVhsv(252, 60%, 76%)
CMYKcmyk(47.9%, 60.3%, 0%, 23.9%)
CIE-LABlab(41.17, 39.42, -58.17)
CIE-LCHlch(41.17, 70.27, 304.12°)
OKLaboklab(50.94% 0.054 -0.1663)
OKLCHoklch(50.94% 0.175 288)
XYZxyz(17.7555, 11.9687, 52.4031)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DC2 #AAC24D
analogous
#4D6FC2 #654DC2 #A04DC2
triadic
#654DC2 #C2654D #4DC265
tetradic
#654DC2 #C24D6F #AAC24D #4DC2A0
square
#654DC2 #C24D6F #AAC24D #4DC2A0
split-complementary
#654DC2 #C2A04D #6FC24D
monochromatic
#35266F #4B369C #654DC2 #8C7BD2 #B4A8E1

Accessibility & contrast

On white

6.19
#654DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#654DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DC2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DC2#FFFFFF#000000##FFFFFF
##654DC21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#466880
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #654dc2;
/* rgb */ color: rgb(101, 77, 194);
/* oklch */ color: oklch(50.9% 0.175 288.0);
Tailwind
colors: {
  custom: {
    50: '#9880d5',
    500: '#654dc2',
    950: '#000000',
  },
}
SCSS
$custom: #654dc2;
$custom-light: #9880d5;
$custom-dark: #000000;
JSON
{
  "hex": "#654dc2",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 194
  },
  "hsl": {
    "h": 252.308,
    "s": 48.954,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50938,
    "c": 0.17489,
    "h": 288
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#654DC2
secondary
#C4CF9C
accent
#D94FBC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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