#654DDB#654DDB

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

Color values

HEX#654DDB
RGBrgb(101, 77, 219)
HSLhsl(250, 66%, 58%)
HSVhsv(250, 65%, 86%)
CMYKcmyk(53.9%, 64.8%, 0%, 14.1%)
CIE-LABlab(43.04, 46.82, -69.53)
CIE-LCHlch(43.04, 83.83, 303.95°)
OKLaboklab(52.89% 0.052 -0.1997)
OKLCHoklch(52.89% 0.206 284.6)
XYZxyz(20.8030, 13.1878, 68.4534)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DDB #C3DB4D
analogous
#4D7CDB #654DDB #AC4DDB
triadic
#654DDB #DB654D #4DDB65
tetradic
#654DDB #DB4D7C #C3DB4D #4DDBAC
square
#654DDB #DB4D7C #C3DB4D #4DDBAC
split-complementary
#654DDB #DBAC4D #7CDB4D
monochromatic
#311D90 #4227C3 #654DDB #9180E5 #BDB3F0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654DDB#FFFFFF#000000##FFFFFF
##654DDB1.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)
#006ADF
Deuteranopia (green-blind)
#0061D8
Tritanopia (blue-blind)
#31708D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ddb;
/* rgb */ color: rgb(101, 77, 219);
/* oklch */ color: oklch(52.9% 0.206 284.6);
Tailwind
colors: {
  custom: {
    50: '#9b80e7',
    500: '#654ddb',
    950: '#000000',
  },
}
SCSS
$custom: #654ddb;
$custom-light: #9b80e7;
$custom-dark: #000000;
JSON
{
  "hex": "#654ddb",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 250.141,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52894,
    "c": 0.20638,
    "h": 284.6
  },
  "luminance": 0.13189
}

Semantic roles & 50–950 ramp

primary
#654DDB
secondary
#D5DEA6
accent
#E93FCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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