#654BDC#654BDC

#654BDC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.7% C 0.210 H 284.8°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#654BDC
RGBrgb(101, 75, 220)
HSLhsl(251, 67%, 58%)
HSVhsv(251, 66%, 86%)
CMYKcmyk(54.1%, 65.9%, 0%, 13.7%)
CIE-LABlab(42.71, 48.23, -70.65)
CIE-LCHlch(42.71, 85.54, 304.32°)
OKLaboklab(52.68% 0.0537 -0.203)
OKLCHoklch(52.68% 0.21 284.8)
XYZxyz(20.7973, 12.9650, 69.1029)
Luminance0.1297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BDC #C2DC4B
analogous
#4B79DC #654BDC #AE4BDC
triadic
#654BDC #DC654B #4BDC65
tetradic
#654BDC #DC4B79 #C2DC4B #4BDCAE
square
#654BDC #DC4B79 #C2DC4B #4BDCAE
split-complementary
#654BDC #DCAE4B #79DC4B
monochromatic
#311C91 #4226C4 #654BDC #917EE6 #BDB1F0

Accessibility & contrast

On white

5.84
#654BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#654BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BDC
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BDC#FFFFFF#000000##FFFFFF
##654BDC1.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#30708D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654bdc;
/* rgb */ color: rgb(101, 75, 220);
/* oklch */ color: oklch(52.7% 0.210 284.8);
Tailwind
colors: {
  custom: {
    50: '#9b7fe8',
    500: '#654bdc',
    950: '#000000',
  },
}
SCSS
$custom: #654bdc;
$custom-light: #9b7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#654bdc",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 250.759,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52677,
    "c": 0.20998,
    "h": 284.8
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#654BDC
secondary
#D4DEA4
accent
#EA3DCB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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