#7968CB#7968CB

#7968CB is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.0% C 0.148 H 288.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#7968CB
RGBrgb(121, 104, 203)
HSLhsl(250, 49%, 60%)
HSVhsv(250, 49%, 80%)
CMYKcmyk(40.4%, 48.8%, 0%, 20.4%)
CIE-LABlab(49.83, 30.57, -49.34)
CIE-LCHlch(49.83, 58.04, 301.78°)
OKLaboklab(57.98% 0.0477 -0.1397)
OKLCHoklch(57.98% 0.148 288.8)
XYZxyz(23.6120, 18.2766, 58.7720)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968CB #BACB68
analogous
#6888CB #7968CB #AA68CB
triadic
#7968CB #CB7968 #68CB79
tetradic
#7968CB #CB6888 #BACB68 #68CBAA
square
#7968CB #CB6888 #BACB68 #68CBAA
split-complementary
#7968CB #CBAA68 #88CB68
monochromatic
#3F2F89 #543FB7 #7968CB #A196DB #CAC3EA

Accessibility & contrast

On white

4.51
#7968CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#7968CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7968CB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968CB#FFFFFF#000000##000000
##7968CB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179CF
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#627C90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7968cb;
/* rgb */ color: rgb(121, 104, 203);
/* oklch */ color: oklch(58.0% 0.148 288.8);
Tailwind
colors: {
  custom: {
    50: '#a493db',
    500: '#7968cb',
    950: '#000000',
  },
}
SCSS
$custom: #7968cb;
$custom-light: #a493db;
$custom-dark: #000000;
JSON
{
  "hex": "#7968cb",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 250.303,
    "s": 48.768,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.14763,
    "h": 288.8
  },
  "luminance": 0.18277
}

Semantic roles & 50–950 ramp

primary
#7968CB
secondary
#D4DAB4
accent
#BC29A3
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7968CB

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

Preview Lab → · Contrast checker → · Palette generator →

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