#7A67B1#7A67B1

#7A67B1 is a mid, moderate violet. Relative luminance 0.170; OKLCH L 56.4% C 0.113 H 294.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A67B1
RGBrgb(122, 103, 177)
HSLhsl(255, 32%, 55%)
HSVhsv(255, 42%, 69%)
CMYKcmyk(31.1%, 41.8%, 0%, 30.6%)
CIE-LABlab(48.28, 24.31, -36.79)
CIE-LCHlch(48.28, 44.10, 303.45°)
OKLaboklab(56.38% 0.0465 -0.103)
OKLCHoklch(56.38% 0.113 294.3)
XYZxyz(20.8101, 17.0121, 43.7737)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67B1 #9EB167
analogous
#6779B1 #7A67B1 #9F67B1
triadic
#7A67B1 #B17A67 #67B17A
tetradic
#7A67B1 #B16779 #9EB167 #67B19F
square
#7A67B1 #B16779 #9EB167 #67B19F
split-complementary
#7A67B1 #B19F67 #79B167
monochromatic
#423568 #5C4A91 #7A67B1 #9D8FC6 #C1B8DB

Accessibility & contrast

On white

4.77
#7A67B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#7A67B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67B1
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67B1#FFFFFF#000000##FFFFFF
##7A67B11.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5173B4
Deuteranopia (green-blind)
#5471AF
Tritanopia (blue-blind)
#6E7483
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a67b1;
/* rgb */ color: rgb(122, 103, 177);
/* oklch */ color: oklch(56.4% 0.113 294.3);
Tailwind
colors: {
  custom: {
    50: '#a292c8',
    500: '#7a67b1',
    950: '#000000',
  },
}
SCSS
$custom: #7a67b1;
$custom-light: #a292c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67b1",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 177
  },
  "hsl": {
    "h": 255.405,
    "s": 32.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56377,
    "c": 0.11306,
    "h": 294.3
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#7A67B1
secondary
#C1C9AA
accent
#C85FAD
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7A67B1

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

Preview Lab → · Contrast checker → · Palette generator →

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