#654AE3#654AE3

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

Color values

HEX#654AE3
RGBrgb(101, 74, 227)
HSLhsl(251, 73%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(55.5%, 67.4%, 0%, 11%)
CIE-LABlab(43.08, 50.84, -74.04)
CIE-LCHlch(43.08, 89.81, 304.48°)
OKLaboklab(53.12% 0.0536 -0.213)
OKLCHoklch(53.12% 0.22 284.1)
XYZxyz(21.6765, 13.2090, 74.0655)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654AE3 #C8E34A
analogous
#4A7CE3 #654AE3 #B24AE3
triadic
#654AE3 #E3654A #4AE365
tetradic
#654AE3 #E34A7C #C8E34A #4AE3B2
square
#654AE3 #E34A7C #C8E34A #4AE3B2
split-complementary
#654AE3 #E3B24A #7CE34A
monochromatic
#2F189B #3F20D0 #654AE3 #927FEB #BFB4F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##654AE3#FFFFFF#000000##FFFFFF
##654AE31.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)
#006AE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#287291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #654ae3;
/* rgb */ color: rgb(101, 74, 227);
/* oklch */ color: oklch(53.1% 0.220 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d7fed',
    500: '#654ae3',
    950: '#000000',
  },
}
SCSS
$custom: #654ae3;
$custom-light: #9d7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#654ae3",
  "rgb": {
    "r": 101,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 250.588,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.21959,
    "h": 284.1
  },
  "luminance": 0.1321
}

Semantic roles & 50–950 ramp

primary
#654AE3
secondary
#D8E2A6
accent
#F038CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #654AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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