#654BDB#654BDB

#654BDB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.6% C 0.209 H 284.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#654BDB
RGBrgb(101, 75, 219)
HSLhsl(251, 67%, 58%)
HSVhsv(251, 66%, 86%)
CMYKcmyk(53.9%, 65.8%, 0%, 14.1%)
CIE-LABlab(42.63, 47.94, -70.21)
CIE-LCHlch(42.63, 85.01, 304.33°)
OKLaboklab(52.6% 0.0538 -0.2017)
OKLCHoklch(52.6% 0.209 284.9)
XYZxyz(20.6652, 12.9122, 68.4075)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BDB #C1DB4B
analogous
#4B79DB #654BDB #AD4BDB
triadic
#654BDB #DB654B #4BDB65
tetradic
#654BDB #DB4B79 #C1DB4B #4BDBAD
square
#654BDB #DB4B79 #C1DB4B #4BDBAD
split-complementary
#654BDB #DBAD4B #79DB4B
monochromatic
#311D8F #4327C2 #654BDB #917EE5 #BCB1EF

Accessibility & contrast

On white

5.86
#654BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#654BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BDB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BDB#FFFFFF#000000##FFFFFF
##654BDB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#0060D8
Tritanopia (blue-blind)
#326F8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654bdb;
/* rgb */ color: rgb(101, 75, 219);
/* oklch */ color: oklch(52.6% 0.209 284.9);
Tailwind
colors: {
  custom: {
    50: '#9b7fe7',
    500: '#654bdb',
    950: '#000000',
  },
}
SCSS
$custom: #654bdb;
$custom-light: #9b7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#654bdb",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 250.833,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.20877,
    "h": 284.9
  },
  "luminance": 0.12913
}

Semantic roles & 50–950 ramp

primary
#654BDB
secondary
#D3DEA4
accent
#EA3ECB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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