#654CA3#654CA3

#654CA3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.6% C 0.135 H 294.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#654CA3
RGBrgb(101, 76, 163)
HSLhsl(257, 36%, 47%)
HSVhsv(257, 53%, 64%)
CMYKcmyk(38%, 53.4%, 0%, 36.1%)
CIE-LABlab(38.86, 31.06, -43.60)
CIE-LCHlch(38.86, 53.53, 305.46°)
OKLaboklab(48.58% 0.0551 -0.1235)
OKLCHoklch(48.58% 0.135 294)
XYZxyz(14.5604, 10.5796, 35.9182)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA3 #8AA34C
analogous
#4C5FA3 #654CA3 #914CA3
triadic
#654CA3 #A3654C #4CA365
tetradic
#654CA3 #A34C5F #8AA34C #4CA391
square
#654CA3 #A34C5F #8AA34C #4CA391
split-complementary
#654CA3 #A3914C #5FA34C
monochromatic
#312550 #4B3979 #654CA3 #8670BC #A99AD0

Accessibility & contrast

On white

6.74
#654CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#654CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CA3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA3#FFFFFF#000000##FFFFFF
##654CA31.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA6
Deuteranopia (green-blind)
#2D5AA1
Tritanopia (blue-blind)
#565E70
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654ca3;
/* rgb */ color: rgb(101, 76, 163);
/* oklch */ color: oklch(48.6% 0.135 294.0);
Tailwind
colors: {
  custom: {
    50: '#947fbf',
    500: '#654ca3',
    950: '#000000',
  },
}
SCSS
$custom: #654ca3;
$custom-light: #947fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca3",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 257.241,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.13523,
    "h": 294
  },
  "luminance": 0.1058
}

Semantic roles & 50–950 ramp

primary
#654CA3
secondary
#AFBC8F
accent
#CC5BAC
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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