#7968DB#7968DB

#7968DB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 59.0% C 0.169 H 286.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7968DB
RGBrgb(121, 104, 219)
HSLhsl(249, 61%, 63%)
HSVhsv(249, 53%, 86%)
CMYKcmyk(44.7%, 52.5%, 0%, 14.1%)
CIE-LABlab(50.78, 35.13, -56.93)
CIE-LCHlch(50.78, 66.90, 301.68°)
OKLaboklab(59% 0.0489 -0.162)
OKLCHoklch(59% 0.169 286.8)
XYZxyz(25.6180, 19.0790, 69.3369)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968DB #CADB68
analogous
#6890DB #7968DB #B368DB
triadic
#7968DB #DB7968 #68DB79
tetradic
#7968DB #DB6890 #CADB68 #68DBB3
square
#7968DB #DB6890 #CADB68 #68DBB3
split-complementary
#7968DB #DBB368 #90DB68
monochromatic
#3927A2 #4D37CF #7968DB #A599E7 #D1CBF3

Accessibility & contrast

On white

4.36
#7968DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7968DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7968DB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968DB#FFFFFF#000000##000000
##7968DB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CDF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#5A8198
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7968db;
/* rgb */ color: rgb(121, 104, 219);
/* oklch */ color: oklch(59.0% 0.169 286.8);
Tailwind
colors: {
  custom: {
    50: '#a593e7',
    500: '#7968db',
    950: '#000000',
  },
}
SCSS
$custom: #7968db;
$custom-light: #a593e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7968db",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 248.87,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58998,
    "c": 0.16921,
    "h": 286.8
  },
  "luminance": 0.1908
}

Semantic roles & 50–950 ramp

primary
#7968DB
secondary
#DEE4BB
accent
#C91CB0
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7968DB

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

Preview Lab → · Contrast checker → · Palette generator →

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