#7968BE#7968BE

#7968BE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.2% C 0.130 H 290.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7968BE
RGBrgb(121, 104, 190)
HSLhsl(252, 40%, 58%)
HSVhsv(252, 45%, 75%)
CMYKcmyk(36.3%, 45.3%, 0%, 25.5%)
CIE-LABlab(49.11, 26.94, -43.02)
CIE-LCHlch(49.11, 50.76, 302.06°)
OKLaboklab(57.21% 0.0461 -0.1212)
OKLCHoklch(57.21% 0.13 290.8)
XYZxyz(22.1273, 17.6827, 50.9525)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968BE #ADBE68
analogous
#6882BE #7968BE #A468BE
triadic
#7968BE #BE7968 #68BE79
tetradic
#7968BE #BE6882 #ADBE68 #68BEA4
square
#7968BE #BE6882 #ADBE68 #68BEA4
split-complementary
#7968BE #BEA468 #82BE68
monochromatic
#413478 #5846A3 #7968BE #9F93D0 #C5BEE3

Accessibility & contrast

On white

4.63
#7968BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7968BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7968BE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968BE#FFFFFF#000000##FFFFFF
##7968BE1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A76C1
Deuteranopia (green-blind)
#4C73BC
Tritanopia (blue-blind)
#68798A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7968be;
/* rgb */ color: rgb(121, 104, 190);
/* oklch */ color: oklch(57.2% 0.130 290.8);
Tailwind
colors: {
  custom: {
    50: '#a393d2',
    500: '#7968be',
    950: '#000000',
  },
}
SCSS
$custom: #7968be;
$custom-light: #a393d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7968be",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 190
  },
  "hsl": {
    "h": 251.86,
    "s": 39.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57206,
    "c": 0.12968,
    "h": 290.8
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#7968BE
secondary
#CBD2B0
accent
#D058B8
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7968BE

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

Preview Lab → · Contrast checker → · Palette generator →

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