#654BDF#654BDF

#654BDF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.214 H 284.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#654BDF
RGBrgb(101, 75, 223)
HSLhsl(251, 70%, 58%)
HSVhsv(251, 66%, 87%)
CMYKcmyk(54.7%, 66.4%, 0%, 12.5%)
CIE-LABlab(42.95, 49.12, -71.97)
CIE-LCHlch(42.95, 87.13, 304.31°)
OKLaboklab(52.93% 0.0533 -0.2069)
OKLCHoklch(52.93% 0.214 284.4)
XYZxyz(21.1981, 13.1253, 71.2142)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BDF #C5DF4B
analogous
#4B7BDF #654BDF #AF4BDF
triadic
#654BDF #DF654B #4BDF65
tetradic
#654BDF #DF4B7B #C5DF4B #4BDFAF
square
#654BDF #DF4B7B #C5DF4B #4BDFAF
split-complementary
#654BDF #DFAF4B #7BDF4B
monochromatic
#301B95 #4124C9 #654BDF #917FE8 #BEB3F1

Accessibility & contrast

On white

5.79
#654BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#654BDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BDF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BDF#FFFFFF#000000##FFFFFF
##654BDF1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#2D718F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #654bdf;
/* rgb */ color: rgb(101, 75, 223);
/* oklch */ color: oklch(52.9% 0.214 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c7fea',
    500: '#654bdf',
    950: '#000000',
  },
}
SCSS
$custom: #654bdf;
$custom-light: #9c7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#654bdf",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 223
  },
  "hsl": {
    "h": 250.541,
    "s": 69.811,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52926,
    "c": 0.21363,
    "h": 284.4
  },
  "luminance": 0.13127
}

Semantic roles & 50–950 ramp

primary
#654BDF
secondary
#D6E0A6
accent
#ED3BCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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