#7968EC#7968EC

#7968EC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.1% C 0.192 H 284.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7968EC
RGBrgb(121, 104, 236)
HSLhsl(248, 78%, 67%)
HSVhsv(248, 56%, 93%)
CMYKcmyk(48.7%, 55.9%, 0%, 7.5%)
CIE-LABlab(51.86, 40.08, -64.76)
CIE-LCHlch(51.86, 76.16, 301.75°)
OKLaboklab(60.15% 0.0494 -0.185)
OKLCHoklch(60.15% 0.192 284.9)
XYZxyz(27.9713, 20.0203, 81.7311)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7968EC #DBEC68
analogous
#6899EC #7968EC #BB68EC
triadic
#7968EC #EC7968 #68EC79
tetradic
#7968EC #EC6899 #DBEC68 #68ECBB
square
#7968EC #EC6899 #DBEC68 #68ECBB
split-complementary
#7968EC #ECBB68 #99EC68
monochromatic
#2E18C1 #4932E5 #7968EC #A99EF3 #D9D5FA

Accessibility & contrast

On white

4.20
#7968EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7968EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7968EC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7968EC#FFFFFF#000000##000000
##7968EC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7FF0
Deuteranopia (green-blind)
#0078E9
Tritanopia (blue-blind)
#5086A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7968ec;
/* rgb */ color: rgb(121, 104, 236);
/* oklch */ color: oklch(60.1% 0.192 284.9);
Tailwind
colors: {
  custom: {
    50: '#a793f3',
    500: '#7968ec',
    950: '#000000',
  },
}
SCSS
$custom: #7968ec;
$custom-light: #a793f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7968ec",
  "rgb": {
    "r": 121,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 247.727,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60146,
    "c": 0.1915,
    "h": 284.9
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#7968EC
secondary
#E8EDC3
accent
#DA0CBF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7968EC

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

Preview Lab → · Contrast checker → · Palette generator →

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