#654CA2#654CA2

#654CA2 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.5% C 0.134 H 294.3°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#654CA2
RGBrgb(101, 76, 162)
HSLhsl(257, 36%, 47%)
HSVhsv(257, 53%, 64%)
CMYKcmyk(37.7%, 53.1%, 0%, 36.5%)
CIE-LABlab(38.80, 30.78, -43.10)
CIE-LCHlch(38.80, 52.96, 305.53°)
OKLaboklab(48.51% 0.055 -0.122)
OKLCHoklch(48.51% 0.134 294.3)
XYZxyz(14.4712, 10.5439, 35.4482)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654CA2 #89A24C
analogous
#4C5EA2 #654CA2 #904CA2
triadic
#654CA2 #A2654C #4CA265
tetradic
#654CA2 #A24C5E #89A24C #4CA290
square
#654CA2 #A24C5E #89A24C #4CA290
split-complementary
#654CA2 #A2904C #5EA24C
monochromatic
#31254F #4B3878 #654CA2 #8670BC #A999CF

Accessibility & contrast

On white

6.76
#654CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#654CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654CA2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654CA2#FFFFFF#000000##FFFFFF
##654CA21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295CA5
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#565D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #654ca2;
/* rgb */ color: rgb(101, 76, 162);
/* oklch */ color: oklch(48.5% 0.134 294.3);
Tailwind
colors: {
  custom: {
    50: '#947fbe',
    500: '#654ca2',
    950: '#000000',
  },
}
SCSS
$custom: #654ca2;
$custom-light: #947fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#654ca2",
  "rgb": {
    "r": 101,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 257.442,
    "s": 36.134,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48512,
    "c": 0.13387,
    "h": 294.3
  },
  "luminance": 0.10544
}

Semantic roles & 50–950 ramp

primary
#654CA2
secondary
#AEBC8E
accent
#CC5CAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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