#7B4697#7B4697

#7B4697 is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.2% C 0.135 H 312.7°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7B4697
RGBrgb(123, 70, 151)
HSLhsl(279, 37%, 43%)
HSVhsv(279, 54%, 59%)
CMYKcmyk(18.5%, 53.6%, 0%, 40.8%)
CIE-LABlab(39.29, 37.45, -35.57)
CIE-LCHlch(39.29, 51.65, 316.47°)
OKLaboklab(49.23% 0.0916 -0.0994)
OKLCHoklch(49.23% 0.135 312.7)
XYZxyz(15.9435, 10.8260, 30.5219)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B4697 #629746
analogous
#524697 #7B4697 #97468A
triadic
#7B4697 #977B46 #46977B
tetradic
#7B4697 #975246 #629746 #468A97
square
#7B4697 #975246 #629746 #468A97
split-complementary
#7B4697 #8A9746 #469752
monochromatic
#371F43 #59336D #7B4697 #9A63B7 #B58DCA

Accessibility & contrast

On white

6.63
#7B4697 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7B4697 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B4697
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B4697#FFFFFF#000000##FFFFFF
##7B46971.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315A9A
Deuteranopia (green-blind)
#425E95
Tritanopia (blue-blind)
#785368
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7b4697;
/* rgb */ color: rgb(123, 70, 151);
/* oklch */ color: oklch(49.2% 0.135 312.7);
Tailwind
colors: {
  custom: {
    50: '#a37bb6',
    500: '#7b4697',
    950: '#000000',
  },
}
SCSS
$custom: #7b4697;
$custom-light: #a37bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b4697",
  "rgb": {
    "r": 123,
    "g": 70,
    "b": 151
  },
  "hsl": {
    "h": 279.259,
    "s": 36.652,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49228,
    "c": 0.13513,
    "h": 312.7
  },
  "luminance": 0.10826
}

Semantic roles & 50–950 ramp

primary
#7B4697
secondary
#95B683
accent
#CD5B82
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B4697

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

Preview Lab → · Contrast checker → · Palette generator →

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