#654BE2#654BE2

#654BE2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.217 H 284.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#654BE2
RGBrgb(101, 75, 226)
HSLhsl(250, 72%, 59%)
HSVhsv(250, 67%, 89%)
CMYKcmyk(55.3%, 66.8%, 0%, 11.4%)
CIE-LABlab(43.19, 50.00, -73.28)
CIE-LCHlch(43.19, 88.71, 304.31°)
OKLaboklab(53.18% 0.0529 -0.2107)
OKLCHoklch(53.18% 0.217 284.1)
XYZxyz(21.6062, 13.2886, 73.3632)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654BE2 #C8E24B
analogous
#4B7DE2 #654BE2 #B14BE2
triadic
#654BE2 #E2654B #4BE265
tetradic
#654BE2 #E24B7D #C8E24B #4BE2B1
square
#654BE2 #E24B7D #C8E24B #4BE2B1
split-complementary
#654BE2 #E2B14B #7DE24B
monochromatic
#2F199A #3F21CF #654BE2 #9280EA #BFB4F3

Accessibility & contrast

On white

5.74
#654BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#654BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654BE2
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654BE2#FFFFFF#000000##FFFFFF
##654BE21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0061DF
Tritanopia (blue-blind)
#297290
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654be2;
/* rgb */ color: rgb(101, 75, 226);
/* oklch */ color: oklch(53.2% 0.217 284.1);
Tailwind
colors: {
  custom: {
    50: '#9c7fec',
    500: '#654be2',
    950: '#000000',
  },
}
SCSS
$custom: #654be2;
$custom-light: #9c7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#654be2",
  "rgb": {
    "r": 101,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 250.331,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.21725,
    "h": 284.1
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#654BE2
secondary
#D8E2A7
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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