#7A67D8#7A67D8

#7A67D8 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.167 H 287.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A67D8
RGBrgb(122, 103, 216)
HSLhsl(250, 59%, 63%)
HSVhsv(250, 52%, 85%)
CMYKcmyk(43.5%, 52.3%, 0%, 15.3%)
CIE-LABlab(50.45, 35.09, -55.76)
CIE-LCHlch(50.45, 65.88, 302.18°)
OKLaboklab(58.71% 0.0511 -0.1585)
OKLCHoklch(58.71% 0.167 287.9)
XYZxyz(25.2674, 18.7950, 67.2489)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67D8 #C5D867
analogous
#678DD8 #7A67D8 #B267D8
triadic
#7A67D8 #D87A67 #67D87A
tetradic
#7A67D8 #D8678D #C5D867 #67D8B2
square
#7A67D8 #D8678D #C5D867 #67D8B2
split-complementary
#7A67D8 #D8B267 #8DD867
monochromatic
#3C289C #4F36CC #7A67D8 #A598E4 #CFC8F1

Accessibility & contrast

On white

4.41
#7A67D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7A67D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A67D8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67D8#FFFFFF#000000##000000
##7A67D81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDC
Deuteranopia (green-blind)
#3275D5
Tritanopia (blue-blind)
#5E7F96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a67d8;
/* rgb */ color: rgb(122, 103, 216);
/* oklch */ color: oklch(58.7% 0.167 287.9);
Tailwind
colors: {
  custom: {
    50: '#a693e5',
    500: '#7a67d8',
    950: '#000000',
  },
}
SCSS
$custom: #7a67d8;
$custom-light: #a693e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67d8",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 216
  },
  "hsl": {
    "h": 250.088,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58712,
    "c": 0.16658,
    "h": 287.9
  },
  "luminance": 0.18796
}

Semantic roles & 50–950 ramp

primary
#7A67D8
secondary
#DBE2B9
accent
#C71FAB
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A67D8

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

Preview Lab → · Contrast checker → · Palette generator →

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