#654BD2#654BD2

#654BD2 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.198 H 286.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#654BD2
RGBrgb(101, 75, 210)
HSLhsl(252, 60%, 56%)
HSVhsv(252, 64%, 82%)
CMYKcmyk(51.9%, 64.3%, 0%, 17.6%)
CIE-LABlab(41.92, 45.28, -66.20)
CIE-LCHlch(41.92, 80.21, 304.37°)
OKLaboklab(51.86% 0.0548 -0.1899)
OKLCHoklch(51.86% 0.198 286.1)
XYZxyz(19.5123, 12.4510, 62.3354)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD2 #B8D24B
analogous
#4B74D2 #654BD2 #A94BD2
triadic
#654BD2 #D2654B #4BD265
tetradic
#654BD2 #D24B74 #B8D24B #4BD2A9
square
#654BD2 #D24B74 #B8D24B #4BD2A9
split-complementary
#654BD2 #D2A94B #74D24B
monochromatic
#332182 #472DB3 #654BD2 #8F7CDE #B9ADEA

Accessibility & contrast

On white

6.02
#654BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#654BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD2#FFFFFF#000000##FFFFFF
##654BD21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#3A6C88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654bd2;
/* rgb */ color: rgb(101, 75, 210);
/* oklch */ color: oklch(51.9% 0.198 286.1);
Tailwind
colors: {
  custom: {
    50: '#9a7fe1',
    500: '#654bd2',
    950: '#000000',
  },
}
SCSS
$custom: #654bd2;
$custom-light: #9a7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd2",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 210
  },
  "hsl": {
    "h": 251.556,
    "s": 60,
    "l": 55.882
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.19771,
    "h": 286.1
  },
  "luminance": 0.12452
}

Semantic roles & 50–950 ramp

primary
#654BD2
secondary
#CED8A0
accent
#E345C5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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