#7A67C6#7A67C6

#7A67C6 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.142 H 290.4°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A67C6
RGBrgb(122, 103, 198)
HSLhsl(252, 45%, 59%)
HSVhsv(252, 48%, 78%)
CMYKcmyk(38.4%, 48%, 0%, 22.4%)
CIE-LABlab(49.39, 30.01, -47.17)
CIE-LCHlch(49.39, 55.91, 302.47°)
OKLaboklab(57.58% 0.0496 -0.1333)
OKLCHoklch(57.58% 0.142 290.4)
XYZxyz(23.0666, 17.9146, 55.6577)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67C6 #B3C667
analogous
#6784C6 #7A67C6 #AA67C6
triadic
#7A67C6 #C67A67 #67C67A
tetradic
#7A67C6 #C66784 #B3C667 #67C6AA
square
#7A67C6 #C66784 #B3C667 #67C6AA
split-complementary
#7A67C6 #C6AA67 #84C667
monochromatic
#413182 #5741AE #7A67C6 #A194D7 #C8C0E7

Accessibility & contrast

On white

4.58
#7A67C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A67C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A67C6
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67C6#FFFFFF#000000##000000
##7A67C61.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#667A8D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a67c6;
/* rgb */ color: rgb(122, 103, 198);
/* oklch */ color: oklch(57.6% 0.142 290.4);
Tailwind
colors: {
  custom: {
    50: '#a492d8',
    500: '#7a67c6',
    950: '#000000',
  },
}
SCSS
$custom: #7a67c6;
$custom-light: #a492d8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67c6",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 198
  },
  "hsl": {
    "h": 252,
    "s": 45.455,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57583,
    "c": 0.14227,
    "h": 290.4
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#7A67C6
secondary
#D0D7B2
accent
#D553BB
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7A67C6

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

Preview Lab → · Contrast checker → · Palette generator →

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