#7A68EB#7A68EB

#7A68EB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.2% C 0.190 H 285.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7A68EB
RGBrgb(122, 104, 235)
HSLhsl(248, 77%, 66%)
HSVhsv(248, 56%, 92%)
CMYKcmyk(48.1%, 55.7%, 0%, 7.8%)
CIE-LABlab(51.88, 39.99, -64.17)
CIE-LCHlch(51.88, 75.61, 301.93°)
OKLaboklab(60.16% 0.0506 -0.1833)
OKLCHoklch(60.16% 0.19 285.4)
XYZxyz(27.9673, 20.0350, 80.9747)
Luminance0.2004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68EB #D9EB68
analogous
#6898EB #7A68EB #BC68EB
triadic
#7A68EB #EB7A68 #68EB7A
tetradic
#7A68EB #EB6898 #D9EB68 #68EBBC
square
#7A68EB #EB6898 #D9EB68 #68EBBC
split-complementary
#7A68EB #EBBC68 #98EB68
monochromatic
#3019BF #4A32E4 #7A68EB #AA9EF2 #D9D4F9

Accessibility & contrast

On white

4.19
#7A68EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#7A68EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68EB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68EB#FFFFFF#000000##000000
##7A68EB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEF
Deuteranopia (green-blind)
#0478E8
Tritanopia (blue-blind)
#52859F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a68eb;
/* rgb */ color: rgb(122, 104, 235);
/* oklch */ color: oklch(60.2% 0.190 285.4);
Tailwind
colors: {
  custom: {
    50: '#a893f2',
    500: '#7a68eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a68eb;
$custom-light: #a893f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68eb",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 248.244,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60158,
    "c": 0.19012,
    "h": 285.4
  },
  "luminance": 0.20036
}

Semantic roles & 50–950 ramp

primary
#7A68EB
secondary
#E7EDC2
accent
#D90DBD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68EB

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

Preview Lab → · Contrast checker → · Palette generator →

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