#7968BF#7968BF

#7968BF is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.3% C 0.131 H 290.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7968BF
RGBrgb(121, 104, 191)
HSLhsl(252, 40%, 58%)
HSVhsv(252, 46%, 75%)
CMYKcmyk(36.6%, 45.5%, 0%, 25.1%)
CIE-LABlab(49.16, 27.22, -43.51)
CIE-LCHlch(49.16, 51.32, 302.03°)
OKLaboklab(57.26% 0.0462 -0.1226)
OKLCHoklch(57.26% 0.131 290.6)
XYZxyz(22.2369, 17.7266, 51.5301)
Luminance0.1773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968BF #AEBF68
analogous
#6882BF #7968BF #A468BF
triadic
#7968BF #BF7968 #68BF79
tetradic
#7968BF #BF6882 #AEBF68 #68BFA4
square
#7968BF #BF6882 #AEBF68 #68BFA4
split-complementary
#7968BF #BFA468 #82BF68
monochromatic
#413379 #5846A4 #7968BF #9F93D1 #C5BEE3

Accessibility & contrast

On white

4.62
#7968BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#7968BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7968BF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968BF#FFFFFF#000000##FFFFFF
##7968BF1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C2
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#67798A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7968bf;
/* rgb */ color: rgb(121, 104, 191);
/* oklch */ color: oklch(57.3% 0.131 290.6);
Tailwind
colors: {
  custom: {
    50: '#a393d3',
    500: '#7968bf',
    950: '#000000',
  },
}
SCSS
$custom: #7968bf;
$custom-light: #a393d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7968bf",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 191
  },
  "hsl": {
    "h": 251.724,
    "s": 40.465,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.13106,
    "h": 290.6
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#7968BF
secondary
#CCD3B0
accent
#D057B9
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7968BF

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

Preview Lab → · Contrast checker → · Palette generator →

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