#7A67AB#7A67AB

#7A67AB is a mid, moderate violet. Relative luminance 0.168; OKLCH L 56.1% C 0.105 H 295.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7A67AB
RGBrgb(122, 103, 171)
HSLhsl(257, 29%, 54%)
HSVhsv(257, 40%, 67%)
CMYKcmyk(28.7%, 39.8%, 0%, 32.9%)
CIE-LABlab(47.98, 22.73, -33.75)
CIE-LCHlch(47.98, 40.70, 303.96°)
OKLaboklab(56.06% 0.0454 -0.0942)
OKLCHoklch(56.06% 0.105 295.7)
XYZxyz(20.2252, 16.7781, 40.6931)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67AB #98AB67
analogous
#6776AB #7A67AB #9C67AB
triadic
#7A67AB #AB7A67 #67AB7A
tetradic
#7A67AB #AB6776 #98AB67 #67AB9C
square
#7A67AB #AB6776 #98AB67 #67AB9C
split-complementary
#7A67AB #AB9C67 #76AB67
monochromatic
#423662 #5D4C89 #7A67AB #9C8EC1 #BFB6D7

Accessibility & contrast

On white

4.82
#7A67AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7A67AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67AB#FFFFFF#000000##FFFFFF
##7A67AB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#5771A9
Tritanopia (blue-blind)
#707381
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a67ab;
/* rgb */ color: rgb(122, 103, 171);
/* oklch */ color: oklch(56.1% 0.105 295.7);
Tailwind
colors: {
  custom: {
    50: '#a292c4',
    500: '#7a67ab',
    950: '#000000',
  },
}
SCSS
$custom: #7a67ab;
$custom-light: #a292c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67ab",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 171
  },
  "hsl": {
    "h": 256.765,
    "s": 28.814,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.10458,
    "h": 295.7
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#7A67AB
secondary
#BDC5A8
accent
#C563AA
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7A67AB

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

Preview Lab → · Contrast checker → · Palette generator →

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