#7A67BA#7A67BA

#7A67BA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 56.9% C 0.126 H 292.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#7A67BA
RGBrgb(122, 103, 186)
HSLhsl(254, 38%, 57%)
HSVhsv(254, 45%, 73%)
CMYKcmyk(34.4%, 44.6%, 0%, 27.1%)
CIE-LABlab(48.74, 26.72, -41.29)
CIE-LCHlch(48.74, 49.18, 302.91°)
OKLaboklab(56.88% 0.048 -0.1161)
OKLCHoklch(56.88% 0.126 292.5)
XYZxyz(21.7369, 17.3828, 48.6548)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67BA #A7BA67
analogous
#677EBA #7A67BA #A467BA
triadic
#7A67BA #BA7A67 #67BA7A
tetradic
#7A67BA #BA677E #A7BA67 #67BAA4
square
#7A67BA #BA677E #A7BA67 #67BAA4
split-complementary
#7A67BA #BAA467 #7EBA67
monochromatic
#423473 #5B479D #7A67BA #9F91CD #C4BBE0

Accessibility & contrast

On white

4.69
#7A67BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#7A67BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67BA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67BA#FFFFFF#000000##FFFFFF
##7A67BA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C75BD
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#6B7787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a67ba;
/* rgb */ color: rgb(122, 103, 186);
/* oklch */ color: oklch(56.9% 0.126 292.5);
Tailwind
colors: {
  custom: {
    50: '#a392cf',
    500: '#7a67ba',
    950: '#000000',
  },
}
SCSS
$custom: #7a67ba;
$custom-light: #a392cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67ba",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 186
  },
  "hsl": {
    "h": 253.735,
    "s": 37.557,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.12568,
    "h": 292.5
  },
  "luminance": 0.17383
}

Semantic roles & 50–950 ramp

primary
#7A67BA
secondary
#C8CFAD
accent
#CE5AB3
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7A67BA

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

Preview Lab → · Contrast checker → · Palette generator →

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