#7A6296#7A6296

#7A6296 is a mid, moderate violet. Relative luminance 0.151; OKLCH L 54.0% C 0.084 H 304.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7A6296
RGBrgb(122, 98, 150)
HSLhsl(268, 21%, 49%)
HSVhsv(268, 35%, 59%)
CMYKcmyk(18.7%, 34.7%, 0%, 41.2%)
CIE-LABlab(45.74, 20.48, -24.87)
CIE-LCHlch(45.74, 32.21, 309.47°)
OKLaboklab(54.03% 0.0479 -0.0686)
OKLCHoklch(54.03% 0.084 304.9)
XYZxyz(17.8976, 15.0750, 30.8151)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6296 #7E9662
analogous
#626496 #7A6296 #946296
triadic
#7A6296 #967A62 #62967A
tetradic
#7A6296 #966264 #7E9662 #629694
square
#7A6296 #966264 #7E9662 #629694
split-complementary
#7A6296 #969462 #649662
monochromatic
#3E324C #5C4A71 #7A6296 #9986B0 #B8ABC8

Accessibility & contrast

On white

5.23
#7A6296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7A6296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6296
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6296#FFFFFF#000000##FFFFFF
##7A62961.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576C98
Deuteranopia (green-blind)
#5C6C95
Tritanopia (blue-blind)
#766A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a6296;
/* rgb */ color: rgb(122, 98, 150);
/* oklch */ color: oklch(54.0% 0.084 304.9);
Tailwind
colors: {
  custom: {
    50: '#a18fb5',
    500: '#7a6296',
    950: '#000000',
  },
}
SCSS
$custom: #7a6296;
$custom-light: #a18fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6296",
  "rgb": {
    "r": 122,
    "g": 98,
    "b": 150
  },
  "hsl": {
    "h": 267.692,
    "s": 20.968,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5403,
    "c": 0.08371,
    "h": 304.9
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#7A6296
secondary
#ABB69D
accent
#BE6A97
background
#FAF8FB
surface
#F3F0F6
border
#CDCBD0
text
#0F0C11
muted
#7F7D80

Preview Lab

Preview with #7A6296

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

Preview Lab → · Contrast checker → · Palette generator →

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