#7A68EF#7A68EF

#7A68EF is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.4% C 0.195 H 285.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7A68EF
RGBrgb(122, 104, 239)
HSLhsl(248, 81%, 67%)
HSVhsv(248, 56%, 94%)
CMYKcmyk(49%, 56.5%, 0%, 6.3%)
CIE-LABlab(52.14, 41.16, -65.99)
CIE-LCHlch(52.14, 77.77, 301.95°)
OKLaboklab(60.44% 0.0506 -0.1886)
OKLCHoklch(60.44% 0.195 285)
XYZxyz(28.5517, 20.2688, 84.0525)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68EF #DDEF68
analogous
#689AEF #7A68EF #BE68EF
triadic
#7A68EF #EF7A68 #68EF7A
tetradic
#7A68EF #EF689A #DDEF68 #68EFBE
square
#7A68EF #EF689A #DDEF68 #68EFBE
split-complementary
#7A68EF #EFBE68 #9AEF68
monochromatic
#2D15C7 #4931E9 #7A68EF #AB9FF5 #DBD7FB

Accessibility & contrast

On white

4.16
#7A68EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7A68EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68EF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68EF#FFFFFF#000000##000000
##7A68EF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#5087A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a68ef;
/* rgb */ color: rgb(122, 104, 239);
/* oklch */ color: oklch(60.4% 0.195 285.0);
Tailwind
colors: {
  custom: {
    50: '#a894f5',
    500: '#7a68ef',
    950: '#000000',
  },
}
SCSS
$custom: #7a68ef;
$custom-light: #a894f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68ef",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 248,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60436,
    "c": 0.19526,
    "h": 285
  },
  "luminance": 0.2027
}

Semantic roles & 50–950 ramp

primary
#7A68EF
secondary
#E9EFC4
accent
#DD08C1
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68EF

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

Preview Lab → · Contrast checker → · Palette generator →

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