#7A68EE#7A68EE

#7A68EE is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.4% C 0.194 H 285.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7A68EE
RGBrgb(122, 104, 238)
HSLhsl(248, 80%, 67%)
HSVhsv(248, 56%, 93%)
CMYKcmyk(48.7%, 56.3%, 0%, 6.7%)
CIE-LABlab(52.07, 40.87, -65.53)
CIE-LCHlch(52.07, 77.23, 301.95°)
OKLaboklab(60.37% 0.0506 -0.1873)
OKLCHoklch(60.37% 0.194 285.1)
XYZxyz(28.4044, 20.2099, 83.2766)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68EE #DCEE68
analogous
#6899EE #7A68EE #BD68EE
triadic
#7A68EE #EE7A68 #68EE7A
tetradic
#7A68EE #EE6899 #DCEE68 #68EEBD
square
#7A68EE #EE6899 #DCEE68 #68EEBD
split-complementary
#7A68EE #EEBD68 #99EE68
monochromatic
#2E16C5 #4A31E8 #7A68EE #AA9FF4 #DBD6FA

Accessibility & contrast

On white

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

On black

5.04
#7A68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68EE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68EE#FFFFFF#000000##000000
##7A68EE1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0180F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#5086A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7a68ee;
/* rgb */ color: rgb(122, 104, 238);
/* oklch */ color: oklch(60.4% 0.194 285.1);
Tailwind
colors: {
  custom: {
    50: '#a894f4',
    500: '#7a68ee',
    950: '#000000',
  },
}
SCSS
$custom: #7a68ee;
$custom-light: #a894f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68ee",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 248.06,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.19398,
    "h": 285.1
  },
  "luminance": 0.20211
}

Semantic roles & 50–950 ramp

primary
#7A68EE
secondary
#E8EEC4
accent
#DC09C0
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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