#7A67B6#7A67B6

#7A67B6 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.7% C 0.120 H 293.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A67B6
RGBrgb(122, 103, 182)
HSLhsl(254, 35%, 56%)
HSVhsv(254, 43%, 71%)
CMYKcmyk(33%, 43.4%, 0%, 28.6%)
CIE-LABlab(48.53, 25.64, -39.30)
CIE-LCHlch(48.53, 46.92, 303.12°)
OKLaboklab(56.65% 0.0474 -0.1103)
OKLCHoklch(56.65% 0.12 293.2)
XYZxyz(21.3176, 17.2151, 46.4466)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67B6 #A3B667
analogous
#677BB6 #7A67B6 #A167B6
triadic
#7A67B6 #B67A67 #67B67A
tetradic
#7A67B6 #B6677B #A3B667 #67B6A1
square
#7A67B6 #B6677B #A3B667 #67B6A1
split-complementary
#7A67B6 #B6A167 #7BB667
monochromatic
#42356E #5C4997 #7A67B6 #9E90CA #C2BADE

Accessibility & contrast

On white

4.73
#7A67B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A67B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67B6
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67B6#FFFFFF#000000##FFFFFF
##7A67B61.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E74B9
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#6C7686
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a67b6;
/* rgb */ color: rgb(122, 103, 182);
/* oklch */ color: oklch(56.7% 0.120 293.2);
Tailwind
colors: {
  custom: {
    50: '#a392cc',
    500: '#7a67b6',
    950: '#000000',
  },
}
SCSS
$custom: #7a67b6;
$custom-light: #a392cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67b6",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 182
  },
  "hsl": {
    "h": 254.43,
    "s": 35.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56653,
    "c": 0.12009,
    "h": 293.2
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#7A67B6
secondary
#C5CDAC
accent
#CB5DB1
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7A67B6

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

Preview Lab → · Contrast checker → · Palette generator →

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