#7A68EA#7A68EA

#7A68EA is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.1% C 0.189 H 285.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7A68EA
RGBrgb(122, 104, 234)
HSLhsl(248, 76%, 66%)
HSVhsv(248, 56%, 92%)
CMYKcmyk(47.9%, 55.6%, 0%, 8.2%)
CIE-LABlab(51.81, 39.70, -63.72)
CIE-LCHlch(51.81, 75.07, 301.93°)
OKLaboklab(60.09% 0.0506 -0.1819)
OKLCHoklch(60.09% 0.189 285.5)
XYZxyz(27.8233, 19.9774, 80.2159)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68EA #D8EA68
analogous
#6897EA #7A68EA #BB68EA
triadic
#7A68EA #EA7A68 #68EA7A
tetradic
#7A68EA #EA6897 #D8EA68 #68EABB
square
#7A68EA #EA6897 #D8EA68 #68EABB
split-complementary
#7A68EA #EABB68 #97EA68
monochromatic
#311ABD #4B32E3 #7A68EA #A99EF1 #D9D3F9

Accessibility & contrast

On white

4.20
#7A68EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#7A68EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68EA#FFFFFF#000000##000000
##7A68EA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#147FEE
Deuteranopia (green-blind)
#0A78E7
Tritanopia (blue-blind)
#53859F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a68ea;
/* rgb */ color: rgb(122, 104, 234);
/* oklch */ color: oklch(60.1% 0.189 285.5);
Tailwind
colors: {
  custom: {
    50: '#a893f1',
    500: '#7a68ea',
    950: '#000000',
  },
}
SCSS
$custom: #7a68ea;
$custom-light: #a893f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68ea",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 234
  },
  "hsl": {
    "h": 248.308,
    "s": 75.581,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60089,
    "c": 0.18882,
    "h": 285.5
  },
  "luminance": 0.19979
}

Semantic roles & 50–950 ramp

primary
#7A68EA
secondary
#E6ECC2
accent
#D80EBC
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68EA

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

Preview Lab → · Contrast checker → · Palette generator →

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