#654FB2#654FB2

#654FB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.1% C 0.151 H 290.1°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#654FB2
RGBrgb(101, 79, 178)
HSLhsl(253, 39%, 50%)
HSVhsv(253, 56%, 70%)
CMYKcmyk(43.3%, 55.6%, 0%, 30.2%)
CIE-LABlab(40.53, 33.55, -49.83)
CIE-LCHlch(40.53, 60.07, 303.95°)
OKLaboklab(50.12% 0.0519 -0.1418)
OKLCHoklch(50.12% 0.151 290.1)
XYZxyz(16.1965, 11.5725, 43.4912)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654FB2 #9CB24F
analogous
#4F6BB2 #654FB2 #964FB2
triadic
#654FB2 #B2654F #4FB265
tetradic
#654FB2 #B24F6B #9CB24F #4FB296
square
#654FB2 #B24F6B #9CB24F #4FB296
split-complementary
#654FB2 #B2964F #6BB24F
monochromatic
#35295E #4D3C88 #654FB2 #8A7AC5 #B0A4D7

Accessibility & contrast

On white

6.34
#654FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#654FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #654FB2
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654FB2#FFFFFF#000000##FFFFFF
##654FB21.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#1F5DB0
Tritanopia (blue-blind)
#4F6479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #654fb2;
/* rgb */ color: rgb(101, 79, 178);
/* oklch */ color: oklch(50.1% 0.151 290.1);
Tailwind
colors: {
  custom: {
    50: '#9681ca',
    500: '#654fb2',
    950: '#000000',
  },
}
SCSS
$custom: #654fb2;
$custom-light: #9681ca;
$custom-dark: #000000;
JSON
{
  "hex": "#654fb2",
  "rgb": {
    "r": 101,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 253.333,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.15099,
    "h": 290.1
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#654FB2
secondary
#BBC498
accent
#CF59B5
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #654FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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