#654CE2#654CE2

#654CE2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.3% C 0.216 H 283.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#654CE2
RGBrgb(101, 76, 226)
HSLhsl(250, 72%, 59%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(55.3%, 66.4%, 0%, 11.4%)
CIE-LABlab(43.40, 49.45, -72.94)
CIE-LCHlch(43.40, 88.13, 304.13°)
OKLaboklab(53.32% 0.052 -0.2097)
OKLCHoklch(53.32% 0.216 283.9)
XYZxyz(21.6745, 13.4253, 73.3860)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CE2 #C9E24C
analogous
#4C7EE2 #654CE2 #B04CE2
triadic
#654CE2 #E2654C #4CE265
tetradic
#654CE2 #E24C7E #C9E24C #4CE2B0
square
#654CE2 #E24C7E #C9E24C #4CE2B0
split-complementary
#654CE2 #E2B04C #7EE24C
monochromatic
#2F199B #3F22CF #654CE2 #9281EB #C0B5F3

Accessibility & contrast

On white

5.70
#654CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#654CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CE2#FFFFFF#000000##FFFFFF
##654CE21.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#297291
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #654ce2;
/* rgb */ color: rgb(101, 76, 226);
/* oklch */ color: oklch(53.3% 0.216 283.9);
Tailwind
colors: {
  custom: {
    50: '#9c80ec',
    500: '#654ce2',
    950: '#000000',
  },
}
SCSS
$custom: #654ce2;
$custom-light: #9c80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#654ce2",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 250,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.2161,
    "h": 283.9
  },
  "luminance": 0.13427
}

Semantic roles & 50–950 ramp

primary
#654CE2
secondary
#D8E2A8
accent
#EF39D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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