#7968AB#7968AB

#7968AB is a mid, moderate violet. Relative luminance 0.169; OKLCH L 56.2% C 0.103 H 294.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7968AB
RGBrgb(121, 104, 171)
HSLhsl(255, 29%, 54%)
HSVhsv(255, 39%, 67%)
CMYKcmyk(29.2%, 39.2%, 0%, 32.9%)
CIE-LABlab(48.14, 21.84, -33.51)
CIE-LCHlch(48.14, 39.99, 303.09°)
OKLaboklab(56.16% 0.0427 -0.0935)
OKLCHoklch(56.16% 0.103 294.5)
XYZxyz(20.1844, 16.9056, 40.7199)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968AB #9AAB68
analogous
#6879AB #7968AB #9B68AB
triadic
#7968AB #AB7968 #68AB79
tetradic
#7968AB #AB6879 #9AAB68 #68AB9B
square
#7968AB #AB6879 #9AAB68 #68AB9B
split-complementary
#7968AB #AB9B68 #79AB68
monochromatic
#423762 #5C4C89 #7968AB #9C8FC1 #BFB7D7

Accessibility & contrast

On white

4.79
#7968AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7968AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7968AB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968AB#FFFFFF#000000##FFFFFF
##7968AB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5573AE
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#6E7481
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7968ab;
/* rgb */ color: rgb(121, 104, 171);
/* oklch */ color: oklch(56.2% 0.103 294.5);
Tailwind
colors: {
  custom: {
    50: '#a193c4',
    500: '#7968ab',
    950: '#000000',
  },
}
SCSS
$custom: #7968ab;
$custom-light: #a193c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7968ab",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 171
  },
  "hsl": {
    "h": 255.224,
    "s": 28.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.10283,
    "h": 294.5
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#7968AB
secondary
#BEC6A9
accent
#C563AC
background
#FAF9FC
surface
#F3F1F8
border
#CDCBD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #7968AB

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

Preview Lab → · Contrast checker → · Palette generator →

#7968AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva