#654FA2#654FA2

#654FA2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.0% C 0.129 H 293.3°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#654FA2
RGBrgb(101, 79, 162)
HSLhsl(256, 34%, 47%)
HSVhsv(256, 51%, 64%)
CMYKcmyk(37.7%, 51.2%, 0%, 36.5%)
CIE-LABlab(39.52, 28.95, -41.94)
CIE-LCHlch(39.52, 50.97, 304.61°)
OKLaboklab(49.05% 0.051 -0.1186)
OKLCHoklch(49.05% 0.129 293.3)
XYZxyz(14.6827, 10.9670, 35.5187)
Luminance0.1097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FA2 #8CA24F
analogous
#4F62A2 #654FA2 #8F4FA2
triadic
#654FA2 #A2654F #4FA265
tetradic
#654FA2 #A24F62 #8CA24F #4FA28F
square
#654FA2 #A24F62 #8CA24F #4FA28F
split-complementary
#654FA2 #A28F4F #62A24F
monochromatic
#322750 #4B3B79 #654FA2 #8673BB #AA9CCF

Accessibility & contrast

On white

6.58
#654FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#654FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FA2
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FA2#FFFFFF#000000##FFFFFF
##654FA21.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#566071
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #654fa2;
/* rgb */ color: rgb(101, 79, 162);
/* oklch */ color: oklch(49.0% 0.129 293.3);
Tailwind
colors: {
  custom: {
    50: '#9481be',
    500: '#654fa2',
    950: '#000000',
  },
}
SCSS
$custom: #654fa2;
$custom-light: #9481be;
$custom-dark: #000000;
JSON
{
  "hex": "#654fa2",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 255.904,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.12915,
    "h": 293.3
  },
  "luminance": 0.10967
}

Semantic roles & 50–950 ramp

primary
#654FA2
secondary
#B0BC91
accent
#CB5DAE
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0D0A12
muted
#7E7C81

Preview Lab

Preview with #654FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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