#654DB3#654DB3

#654DB3 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 49.8% C 0.155 H 290.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#654DB3
RGBrgb(101, 77, 179)
HSLhsl(254, 40%, 50%)
HSVhsv(254, 57%, 70%)
CMYKcmyk(43.6%, 57%, 0%, 29.8%)
CIE-LABlab(40.13, 35.03, -51.06)
CIE-LCHlch(40.13, 61.92, 304.45°)
OKLaboklab(49.85% 0.0543 -0.1454)
OKLCHoklch(49.85% 0.155 290.5)
XYZxyz(16.1551, 11.3286, 43.9745)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DB3 #9BB34D
analogous
#4D68B3 #654DB3 #984DB3
triadic
#654DB3 #B3654D #4DB365
tetradic
#654DB3 #B34D68 #9BB34D #4DB398
square
#654DB3 #B34D68 #9BB34D #4DB398
split-complementary
#654DB3 #B3984D #68B34D
monochromatic
#35285E #4D3A89 #654DB3 #8A78C5 #AFA3D8

Accessibility & contrast

On white

6.43
#654DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#654DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DB3
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DB3#FFFFFF#000000##FFFFFF
##654DB31.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1160B6
Deuteranopia (green-blind)
#185CB1
Tritanopia (blue-blind)
#4E6378
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654db3;
/* rgb */ color: rgb(101, 77, 179);
/* oklch */ color: oklch(49.8% 0.155 290.5);
Tailwind
colors: {
  custom: {
    50: '#967fca',
    500: '#654db3',
    950: '#000000',
  },
}
SCSS
$custom: #654db3;
$custom-light: #967fca;
$custom-dark: #000000;
JSON
{
  "hex": "#654db3",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 179
  },
  "hsl": {
    "h": 254.118,
    "s": 40.157,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49845,
    "c": 0.15524,
    "h": 290.5
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

primary
#654DB3
secondary
#BAC597
accent
#D058B4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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