#654875#654875

#654875 is a mid, moderate violet. Relative luminance 0.087; OKLCH L 45.1% C 0.079 H 313.0°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#654875
RGBrgb(101, 72, 117)
HSLhsl(279, 24%, 37%)
HSVhsv(279, 38%, 46%)
CMYKcmyk(13.7%, 38.5%, 0%, 54.1%)
CIE-LABlab(35.37, 21.45, -21.05)
CIE-LCHlch(35.37, 30.05, 315.54°)
OKLaboklab(45.15% 0.054 -0.058)
OKLCHoklch(45.15% 0.079 313)
XYZxyz(10.8945, 8.6860, 17.9288)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#654875 #587548
analogous
#4F4875 #654875 #75486F
triadic
#654875 #756548 #487565
tetradic
#654875 #754F48 #587548 #486F75
square
#654875 #754F48 #587548 #486F75
split-complementary
#654875 #6F7548 #48754F
monochromatic
#241929 #44314F #654875 #865F9B #A384B3

Accessibility & contrast

On white

7.67
#654875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#654875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #654875
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##654875#FFFFFF#000000##FFFFFF
##6548751.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405277
Deuteranopia (green-blind)
#475474
Tritanopia (blue-blind)
#644E59
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #654875;
/* rgb */ color: rgb(101, 72, 117);
/* oklch */ color: oklch(45.1% 0.079 313.0);
Tailwind
colors: {
  custom: {
    50: '#917b9d',
    500: '#654875',
    950: '#000000',
  },
}
SCSS
$custom: #654875;
$custom-light: #917b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#654875",
  "rgb": {
    "r": 101,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 278.667,
    "s": 23.81,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.07922,
    "h": 313
  },
  "luminance": 0.08686
}

Semantic roles & 50–950 ramp

primary
#654875
secondary
#87A079
accent
#C06887
background
#F9F7F9
surface
#F1EEF2
border
#CBC9CC
text
#0D090E
muted
#7E7B7E

Preview Lab

Preview with #654875

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

Preview Lab → · Contrast checker → · Palette generator →

#654875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva