#654DAF#654DAF

#654DAF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.6% C 0.150 H 291.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#654DAF
RGBrgb(101, 77, 175)
HSLhsl(255, 39%, 49%)
HSVhsv(255, 56%, 69%)
CMYKcmyk(42.3%, 56%, 0%, 31.4%)
CIE-LABlab(39.86, 33.88, -49.13)
CIE-LCHlch(39.86, 59.67, 304.59°)
OKLaboklab(49.57% 0.0543 -0.1397)
OKLCHoklch(49.57% 0.15 291.2)
XYZxyz(15.7564, 11.1691, 41.8748)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654DAF #97AF4D
analogous
#4D66AF #654DAF #964DAF
triadic
#654DAF #AF654D #4DAF65
tetradic
#654DAF #AF4D66 #97AF4D #4DAF96
square
#654DAF #AF4D66 #97AF4D #4DAF96
split-complementary
#654DAF #AF964D #66AF4D
monochromatic
#34285A #4C3A85 #654DAF #8976C3 #AEA1D6

Accessibility & contrast

On white

6.49
#654DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#654DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654DAF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654DAF#FFFFFF#000000##FFFFFF
##654DAF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#506276
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #654daf;
/* rgb */ color: rgb(101, 77, 175);
/* oklch */ color: oklch(49.6% 0.150 291.2);
Tailwind
colors: {
  custom: {
    50: '#967fc7',
    500: '#654daf',
    950: '#000000',
  },
}
SCSS
$custom: #654daf;
$custom-light: #967fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#654daf",
  "rgb": {
    "r": 101,
    "g": 77,
    "b": 175
  },
  "hsl": {
    "h": 254.694,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.49565,
    "c": 0.14991,
    "h": 291.2
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#654DAF
secondary
#B7C395
accent
#CF59B2
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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