#654CDE#654CDE

#654CDE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.211 H 284.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#654CDE
RGBrgb(101, 76, 222)
HSLhsl(250, 69%, 58%)
HSVhsv(250, 66%, 87%)
CMYKcmyk(54.5%, 65.8%, 0%, 12.9%)
CIE-LABlab(43.08, 48.27, -71.19)
CIE-LCHlch(43.08, 86.01, 304.14°)
OKLaboklab(52.99% 0.0525 -0.2046)
OKLCHoklch(52.99% 0.211 284.4)
XYZxyz(21.1321, 13.2083, 70.5290)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CDE #C5DE4C
analogous
#4C7CDE #654CDE #AE4CDE
triadic
#654CDE #DE654C #4CDE65
tetradic
#654CDE #DE4C7C #C5DE4C #4CDEAE
square
#654CDE #DE4C7C #C5DE4C #4CDEAE
split-complementary
#654CDE #DEAE4C #7CDE4C
monochromatic
#301B94 #4125C8 #654CDE #9180E8 #BEB3F1

Accessibility & contrast

On white

5.77
#654CDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#654CDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CDE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CDE#FFFFFF#000000##FFFFFF
##654CDE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0061DB
Tritanopia (blue-blind)
#2E718E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654cde;
/* rgb */ color: rgb(101, 76, 222);
/* oklch */ color: oklch(53.0% 0.211 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c80e9',
    500: '#654cde',
    950: '#000000',
  },
}
SCSS
$custom: #654cde;
$custom-light: #9c80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#654cde",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 222
  },
  "hsl": {
    "h": 250.274,
    "s": 68.868,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.21124,
    "h": 284.4
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #654CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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