#7A68E8#7A68E8

#7A68E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 60.0% C 0.186 H 285.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7A68E8
RGBrgb(122, 104, 232)
HSLhsl(248, 74%, 66%)
HSVhsv(248, 55%, 91%)
CMYKcmyk(47.4%, 55.2%, 0%, 9%)
CIE-LABlab(51.68, 39.12, -62.80)
CIE-LCHlch(51.68, 73.99, 301.92°)
OKLaboklab(59.95% 0.0505 -0.1792)
OKLCHoklch(59.95% 0.186 285.7)
XYZxyz(27.5376, 19.8631, 78.7113)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68E8 #D6E868
analogous
#6896E8 #7A68E8 #BA68E8
triadic
#7A68E8 #E87A68 #68E87A
tetradic
#7A68E8 #E86896 #D6E868 #68E8BA
square
#7A68E8 #E86896 #D6E868 #68E8BA
split-complementary
#7A68E8 #E8BA68 #96E868
monochromatic
#321CB9 #4B33E0 #7A68E8 #A99DF0 #D8D2F8

Accessibility & contrast

On white

4.22
#7A68E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7A68E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68E8
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68E8#FFFFFF#000000##000000
##7A68E81.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7FEC
Deuteranopia (green-blind)
#1377E5
Tritanopia (blue-blind)
#54859E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a68e8;
/* rgb */ color: rgb(122, 104, 232);
/* oklch */ color: oklch(60.0% 0.186 285.7);
Tailwind
colors: {
  custom: {
    50: '#a793f0',
    500: '#7a68e8',
    950: '#000000',
  },
}
SCSS
$custom: #7a68e8;
$custom-light: #a793f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68e8",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 248.438,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.18623,
    "h": 285.7
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#7A68E8
secondary
#E5EBC1
accent
#D610BA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68E8

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

Preview Lab → · Contrast checker → · Palette generator →

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