#654FAF#654FAF

#654FAF is a mid, vivid violet. Relative luminance 0.115; OKLCH L 49.9% C 0.147 H 290.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#654FAF
RGBrgb(101, 79, 175)
HSLhsl(254, 38%, 50%)
HSVhsv(254, 55%, 69%)
CMYKcmyk(42.3%, 54.9%, 0%, 31.4%)
CIE-LABlab(40.33, 32.67, -48.37)
CIE-LCHlch(40.33, 58.37, 304.04°)
OKLaboklab(49.91% 0.0518 -0.1375)
OKLCHoklch(49.91% 0.147 290.6)
XYZxyz(15.8985, 11.4533, 41.9222)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FAF #99AF4F
analogous
#4F69AF #654FAF #954FAF
triadic
#654FAF #AF654F #4FAF65
tetradic
#654FAF #AF4F69 #99AF4F #4FAF95
square
#654FAF #AF4F69 #99AF4F #4FAF95
split-complementary
#654FAF #AF954F #69AF4F
monochromatic
#34295B #4D3C85 #654FAF #8A79C2 #AFA3D5

Accessibility & contrast

On white

6.38
#654FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#654FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FAF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FAF#FFFFFF#000000##FFFFFF
##654FAF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#506377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #654faf;
/* rgb */ color: rgb(101, 79, 175);
/* oklch */ color: oklch(49.9% 0.147 290.6);
Tailwind
colors: {
  custom: {
    50: '#9581c7',
    500: '#654faf',
    950: '#000000',
  },
}
SCSS
$custom: #654faf;
$custom-light: #9581c7;
$custom-dark: #000000;
JSON
{
  "hex": "#654faf",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 253.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49913,
    "c": 0.14694,
    "h": 290.6
  },
  "luminance": 0.11454
}

Semantic roles & 50–950 ramp

primary
#654FAF
secondary
#B9C397
accent
#CE5AB3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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