#654DBB#654DBB

#654DBB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.4% C 0.166 H 289.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#654DBB
RGBrgb(101, 77, 187)
HSLhsl(253, 45%, 52%)
HSVhsv(253, 59%, 73%)
CMYKcmyk(46%, 58.8%, 0%, 26.7%)
CIE-LABlab(40.67, 37.36, -54.88)
CIE-LCHlch(40.67, 66.39, 304.25°)
OKLaboklab(50.42% 0.0543 -0.1567)
OKLCHoklch(50.42% 0.166 289.1)
XYZxyz(16.9878, 11.6617, 48.3599)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DBB #A3BB4D
analogous
#4D6CBB #654DBB #9C4DBB
triadic
#654DBB #BB654D #4DBB65
tetradic
#654DBB #BB4D6C #A3BB4D #4DBB9C
square
#654DBB #BB4D6C #A3BB4D #4DBB9C
split-complementary
#654DBB #BB9C4D #6CBB4D
monochromatic
#352766 #4C3893 #654DBB #8B79CC #B2A6DD

Accessibility & contrast

On white

6.30
#654DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#654DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DBB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DBB#FFFFFF#000000##FFFFFF
##654DBB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#4A667C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654dbb;
/* rgb */ color: rgb(101, 77, 187);
/* oklch */ color: oklch(50.4% 0.166 289.1);
Tailwind
colors: {
  custom: {
    50: '#9780d0',
    500: '#654dbb',
    950: '#000000',
  },
}
SCSS
$custom: #654dbb;
$custom-light: #9780d0;
$custom-dark: #000000;
JSON
{
  "hex": "#654dbb",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 187
  },
  "hsl": {
    "h": 253.091,
    "s": 44.715,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5042,
    "c": 0.16579,
    "h": 289.1
  },
  "luminance": 0.11662
}

Semantic roles & 50–950 ramp

primary
#654DBB
secondary
#C0CA9A
accent
#D453B8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #654DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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