#654BD3#654BD3

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

Color values

HEX#654BD3
RGBrgb(101, 75, 211)
HSLhsl(251, 61%, 56%)
HSVhsv(251, 64%, 83%)
CMYKcmyk(52.1%, 64.5%, 0%, 17.3%)
CIE-LABlab(42.00, 45.58, -66.65)
CIE-LCHlch(42.00, 80.74, 304.37°)
OKLaboklab(51.94% 0.0547 -0.1913)
OKLCHoklch(51.94% 0.199 286)
XYZxyz(19.6373, 12.5010, 62.9936)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BD3 #B9D34B
analogous
#4B75D3 #654BD3 #A94BD3
triadic
#654BD3 #D3654B #4BD365
tetradic
#654BD3 #D34B75 #B9D34B #4BD3A9
square
#654BD3 #D34B75 #B9D34B #4BD3A9
split-complementary
#654BD3 #D3A94B #75D34B
monochromatic
#332083 #462CB5 #654BD3 #8F7CDF #B9ADEB

Accessibility & contrast

On white

6.00
#654BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#654BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BD3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BD3#FFFFFF#000000##FFFFFF
##654BD31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#396C88
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #654bd3;
/* rgb */ color: rgb(101, 75, 211);
/* oklch */ color: oklch(51.9% 0.199 286.0);
Tailwind
colors: {
  custom: {
    50: '#9a7fe1',
    500: '#654bd3',
    950: '#000000',
  },
}
SCSS
$custom: #654bd3;
$custom-light: #9a7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#654bd3",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 251.471,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.19895,
    "h": 286
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#654BD3
secondary
#CED9A1
accent
#E444C5
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #654BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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