#654DD2#654DD2

#654DD2 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.2% C 0.195 H 285.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#654DD2
RGBrgb(101, 77, 210)
HSLhsl(251, 60%, 56%)
HSVhsv(251, 63%, 82%)
CMYKcmyk(51.9%, 63.3%, 0%, 17.6%)
CIE-LABlab(42.35, 44.15, -65.51)
CIE-LCHlch(42.35, 79.00, 303.98°)
OKLaboklab(52.17% 0.0529 -0.1879)
OKLCHoklch(52.17% 0.195 285.7)
XYZxyz(19.6501, 12.7266, 62.3813)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DD2 #BAD24D
analogous
#4D78D2 #654DD2 #A84DD2
triadic
#654DD2 #D2654D #4DD265
tetradic
#654DD2 #D24D78 #BAD24D #4DD2A8
square
#654DD2 #D24D78 #BAD24D #4DD2A8
split-complementary
#654DD2 #D2A84D #78D24D
monochromatic
#332183 #462EB4 #654DD2 #8F7EDE #BAAFEB

Accessibility & contrast

On white

5.92
#654DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#654DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DD2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DD2#FFFFFF#000000##FFFFFF
##654DD21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#3A6D88
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #654dd2;
/* rgb */ color: rgb(101, 77, 210);
/* oklch */ color: oklch(52.2% 0.195 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a80e1',
    500: '#654dd2',
    950: '#000000',
  },
}
SCSS
$custom: #654dd2;
$custom-light: #9a80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#654dd2",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 250.827,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52172,
    "c": 0.19521,
    "h": 285.7
  },
  "luminance": 0.12728
}

Semantic roles & 50–950 ramp

primary
#654DD2
secondary
#CFD9A2
accent
#E345C6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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