#7A68E5#7A68E5

#7A68E5 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.7% C 0.182 H 286.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A68E5
RGBrgb(122, 104, 229)
HSLhsl(249, 71%, 65%)
HSVhsv(249, 55%, 90%)
CMYKcmyk(46.7%, 54.6%, 0%, 10.2%)
CIE-LABlab(51.49, 38.25, -61.43)
CIE-LCHlch(51.49, 72.36, 301.91°)
OKLaboklab(59.75% 0.0505 -0.1752)
OKLCHoklch(59.75% 0.182 286.1)
XYZxyz(27.1151, 19.6941, 76.4862)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68E5 #D3E568
analogous
#6894E5 #7A68E5 #B868E5
triadic
#7A68E5 #E57A68 #68E57A
tetradic
#7A68E5 #E56894 #D3E568 #68E5B8
square
#7A68E5 #E56894 #D3E568 #68E5B8
split-complementary
#7A68E5 #E5B868 #94E568
monochromatic
#341FB4 #4C34DC #7A68E5 #A89CEE #D6D0F7

Accessibility & contrast

On white

4.25
#7A68E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7A68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68E5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68E5#FFFFFF#000000##000000
##7A68E51.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#56849C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a68e5;
/* rgb */ color: rgb(122, 104, 229);
/* oklch */ color: oklch(59.7% 0.182 286.1);
Tailwind
colors: {
  custom: {
    50: '#a793ee',
    500: '#7a68e5',
    950: '#000000',
  },
}
SCSS
$custom: #7a68e5;
$custom-light: #a793ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68e5",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 248.64,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.18232,
    "h": 286.1
  },
  "luminance": 0.19695
}

Semantic roles & 50–950 ramp

primary
#7A68E5
secondary
#E3E9BF
accent
#D313B7
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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