#7968BD#7968BD

#7968BD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.1% C 0.128 H 291.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7968BD
RGBrgb(121, 104, 189)
HSLhsl(252, 39%, 57%)
HSVhsv(252, 45%, 74%)
CMYKcmyk(36%, 45%, 0%, 25.9%)
CIE-LABlab(49.06, 26.67, -42.52)
CIE-LCHlch(49.06, 50.19, 302.09°)
OKLaboklab(57.15% 0.0459 -0.1198)
OKLCHoklch(57.15% 0.128 291)
XYZxyz(22.0183, 17.6392, 50.3789)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968BD #ACBD68
analogous
#6881BD #7968BD #A468BD
triadic
#7968BD #BD7968 #68BD79
tetradic
#7968BD #BD6881 #ACBD68 #68BDA4
square
#7968BD #BD6881 #ACBD68 #68BDA4
split-complementary
#7968BD #BDA468 #81BD68
monochromatic
#413477 #5947A1 #7968BD #9F93D0 #C5BDE2

Accessibility & contrast

On white

4.64
#7968BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7968BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7968BD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968BD#FFFFFF#000000##FFFFFF
##7968BD1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B76C0
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#687889
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7968bd;
/* rgb */ color: rgb(121, 104, 189);
/* oklch */ color: oklch(57.1% 0.128 291.0);
Tailwind
colors: {
  custom: {
    50: '#a293d1',
    500: '#7968bd',
    950: '#000000',
  },
}
SCSS
$custom: #7968bd;
$custom-light: #a293d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7968bd",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 189
  },
  "hsl": {
    "h": 252,
    "s": 39.171,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.12828,
    "h": 291
  },
  "luminance": 0.1764
}

Semantic roles & 50–950 ramp

primary
#7968BD
secondary
#CBD2AF
accent
#CF59B7
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7968BD

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

Preview Lab → · Contrast checker → · Palette generator →

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