#654BC2#654BC2

#654BC2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.178 H 288.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#654BC2
RGBrgb(101, 75, 194)
HSLhsl(253, 49%, 53%)
HSVhsv(253, 61%, 76%)
CMYKcmyk(47.9%, 61.3%, 0%, 23.9%)
CIE-LABlab(40.72, 40.58, -58.89)
CIE-LCHlch(40.72, 71.52, 304.57°)
OKLaboklab(50.61% 0.0562 -0.1684)
OKLCHoklch(50.61% 0.178 288.4)
XYZxyz(17.6177, 11.6932, 52.3572)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BC2 #A8C24B
analogous
#4B6CC2 #654BC2 #A04BC2
triadic
#654BC2 #C2654B #4BC265
tetradic
#654BC2 #C24B6C #A8C24B #4BC2A0
square
#654BC2 #C24B6C #A8C24B #4BC2A0
split-complementary
#654BC2 #C2A04B #6CC24B
monochromatic
#35256D #4B359B #654BC2 #8C79D1 #B3A6E1

Accessibility & contrast

On white

6.29
#654BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#654BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BC2
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BC2#FFFFFF#000000##FFFFFF
##654BC21.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#46677F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654bc2;
/* rgb */ color: rgb(101, 75, 194);
/* oklch */ color: oklch(50.6% 0.178 288.4);
Tailwind
colors: {
  custom: {
    50: '#987ed5',
    500: '#654bc2',
    950: '#000000',
  },
}
SCSS
$custom: #654bc2;
$custom-light: #987ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#654bc2",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 253.109,
    "s": 49.378,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50614,
    "c": 0.17757,
    "h": 288.4
  },
  "luminance": 0.11694
}

Semantic roles & 50–950 ramp

primary
#654BC2
secondary
#C3CE9B
accent
#D94FBB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #654BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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