#7A67B8#7A67B8

#7A67B8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 56.8% C 0.123 H 292.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7A67B8
RGBrgb(122, 103, 184)
HSLhsl(254, 36%, 56%)
HSVhsv(254, 44%, 72%)
CMYKcmyk(33.7%, 44%, 0%, 27.8%)
CIE-LABlab(48.63, 26.18, -40.29)
CIE-LCHlch(48.63, 48.05, 303.01°)
OKLaboklab(56.77% 0.0477 -0.1132)
OKLCHoklch(56.77% 0.123 292.9)
XYZxyz(21.5258, 17.2983, 47.5429)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A67B8 #A5B867
analogous
#677DB8 #7A67B8 #A367B8
triadic
#7A67B8 #B87A67 #67B87A
tetradic
#7A67B8 #B8677D #A5B867 #67B8A3
square
#7A67B8 #B8677D #A5B867 #67B8A3
split-complementary
#7A67B8 #B8A367 #7DB867
monochromatic
#423470 #5B489A #7A67B8 #9F91CB #C3BADF

Accessibility & contrast

On white

4.71
#7A67B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7A67B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A67B8
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A67B8#FFFFFF#000000##FFFFFF
##7A67B81.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#4F72B6
Tritanopia (blue-blind)
#6B7687
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a67b8;
/* rgb */ color: rgb(122, 103, 184);
/* oklch */ color: oklch(56.8% 0.123 292.9);
Tailwind
colors: {
  custom: {
    50: '#a392ce',
    500: '#7a67b8',
    950: '#000000',
  },
}
SCSS
$custom: #7a67b8;
$custom-light: #a392ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7a67b8",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 184
  },
  "hsl": {
    "h": 254.074,
    "s": 36.323,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56765,
    "c": 0.12289,
    "h": 292.9
  },
  "luminance": 0.17299
}

Semantic roles & 50–950 ramp

primary
#7A67B8
secondary
#C6CEAD
accent
#CC5BB2
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7A67B8

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

Preview Lab → · Contrast checker → · Palette generator →

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