#7A67B2#7A67B2

#7A67B2 is a mid, moderate violet. Relative luminance 0.171; OKLCH L 56.4% C 0.114 H 294.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A67B2
RGBrgb(122, 103, 178)
HSLhsl(255, 33%, 55%)
HSVhsv(255, 42%, 70%)
CMYKcmyk(31.5%, 42.1%, 0%, 30.2%)
CIE-LABlab(48.33, 24.57, -37.29)
CIE-LCHlch(48.33, 44.66, 303.38°)
OKLaboklab(56.43% 0.0467 -0.1045)
OKLCHoklch(56.43% 0.114 294.1)
XYZxyz(20.9102, 17.0521, 44.3006)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67B2 #9FB267
analogous
#6779B2 #7A67B2 #9F67B2
triadic
#7A67B2 #B27A67 #67B27A
tetradic
#7A67B2 #B26779 #9FB267 #67B29F
square
#7A67B2 #B26779 #9FB267 #67B29F
split-complementary
#7A67B2 #B29F67 #79B267
monochromatic
#423569 #5C4A92 #7A67B2 #9E90C7 #C1B8DB

Accessibility & contrast

On white

4.76
#7A67B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#7A67B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67B2#FFFFFF#000000##FFFFFF
##7A67B21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5074B5
Deuteranopia (green-blind)
#5372B0
Tritanopia (blue-blind)
#6D7584
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a67b2;
/* rgb */ color: rgb(122, 103, 178);
/* oklch */ color: oklch(56.4% 0.114 294.1);
Tailwind
colors: {
  custom: {
    50: '#a292c9',
    500: '#7a67b2',
    950: '#000000',
  },
}
SCSS
$custom: #7a67b2;
$custom-light: #a292c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67b2",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 178
  },
  "hsl": {
    "h": 255.2,
    "s": 32.751,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.11447,
    "h": 294.1
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#7A67B2
secondary
#C2CAAB
accent
#C95FAE
background
#FAF9FC
surface
#F4F1F8
border
#CECBD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7A67B2

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

Preview Lab → · Contrast checker → · Palette generator →

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