#7A68EC#7A68EC

#7A68EC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.2% C 0.191 H 285.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7A68EC
RGBrgb(122, 104, 236)
HSLhsl(248, 78%, 67%)
HSVhsv(248, 56%, 93%)
CMYKcmyk(48.3%, 55.9%, 0%, 7.5%)
CIE-LABlab(51.94, 40.28, -64.63)
CIE-LCHlch(51.94, 76.15, 301.94°)
OKLaboklab(60.23% 0.0506 -0.1846)
OKLCHoklch(60.23% 0.191 285.3)
XYZxyz(28.1122, 20.0930, 81.7377)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68EC #DAEC68
analogous
#6898EC #7A68EC #BC68EC
triadic
#7A68EC #EC7A68 #68EC7A
tetradic
#7A68EC #EC6898 #DAEC68 #68ECBC
square
#7A68EC #EC6898 #DAEC68 #68ECBC
split-complementary
#7A68EC #ECBC68 #98EC68
monochromatic
#2F18C1 #4A32E5 #7A68EC #AA9EF3 #DAD5FA

Accessibility & contrast

On white

4.18
#7A68EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7A68EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68EC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68EC#FFFFFF#000000##000000
##7A68EC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a68ec;
/* rgb */ color: rgb(122, 104, 236);
/* oklch */ color: oklch(60.2% 0.191 285.3);
Tailwind
colors: {
  custom: {
    50: '#a893f3',
    500: '#7a68ec',
    950: '#000000',
  },
}
SCSS
$custom: #7a68ec;
$custom-light: #a893f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68ec",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 248.182,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.1914,
    "h": 285.3
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#7A68EC
secondary
#E7EDC3
accent
#DA0CBE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68EC

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

Preview Lab → · Contrast checker → · Palette generator →

#7A68EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva