#7B648F#7B648F

#7B648F is a mid, moderate violet. Relative luminance 0.153; OKLCH L 54.2% C 0.071 H 308.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7B648F
RGBrgb(123, 100, 143)
HSLhsl(272, 18%, 48%)
HSVhsv(272, 30%, 56%)
CMYKcmyk(14%, 30.1%, 0%, 43.9%)
CIE-LABlab(46.05, 17.96, -20.20)
CIE-LCHlch(46.05, 27.03, 311.64°)
OKLaboklab(54.2% 0.0441 -0.0553)
OKLCHoklch(54.2% 0.071 308.5)
XYZxyz(17.6826, 15.3086, 28.0046)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B648F #788F64
analogous
#66648F #7B648F #8F648D
triadic
#7B648F #8F7B64 #648F7B
tetradic
#7B648F #8F6664 #788F64 #648D8F
square
#7B648F #8F6664 #788F64 #648D8F
split-complementary
#7B648F #8D8F64 #648F66
monochromatic
#3D3247 #5C4B6B #7B648F #9986AA #B8AAC3

Accessibility & contrast

On white

5.17
#7B648F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7B648F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B648F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B648F#FFFFFF#000000##FFFFFF
##7B648F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C91
Deuteranopia (green-blind)
#616D8E
Tritanopia (blue-blind)
#796A73
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7b648f;
/* rgb */ color: rgb(123, 100, 143);
/* oklch */ color: oklch(54.2% 0.071 308.5);
Tailwind
colors: {
  custom: {
    50: '#a190b0',
    500: '#7b648f',
    950: '#000000',
  },
}
SCSS
$custom: #7b648f;
$custom-light: #a190b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b648f",
  "rgb": {
    "r": 123,
    "g": 100,
    "b": 143
  },
  "hsl": {
    "h": 272.093,
    "s": 17.695,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54198,
    "c": 0.07076,
    "h": 308.5
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#7B648F
secondary
#A7B29D
accent
#BA6D91
background
#FAF8FA
surface
#F3F0F4
border
#CDCBCE
text
#0F0C10
muted
#7F7D7F

Preview Lab

Preview with #7B648F

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

Preview Lab → · Contrast checker → · Palette generator →

#7B648F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva