#7A68DC#7A68DC

#7A68DC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 59.1% C 0.170 H 287.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7A68DC
RGBrgb(122, 104, 220)
HSLhsl(249, 62%, 64%)
HSVhsv(249, 53%, 86%)
CMYKcmyk(44.5%, 52.7%, 0%, 13.7%)
CIE-LABlab(50.93, 35.65, -57.26)
CIE-LCHlch(50.93, 67.45, 301.91°)
OKLaboklab(59.15% 0.0502 -0.1629)
OKLCHoklch(59.15% 0.17 287.1)
XYZxyz(25.8909, 19.2045, 70.0389)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A68DC #CADC68
analogous
#6890DC #7A68DC #B468DC
triadic
#7A68DC #DC7A68 #68DC7A
tetradic
#7A68DC #DC6890 #CADC68 #68DCB4
square
#7A68DC #DC6890 #CADC68 #68DCB4
split-complementary
#7A68DC #DCB468 #90DC68
monochromatic
#3926A4 #4E36D0 #7A68DC #A69AE8 #D2CBF3

Accessibility & contrast

On white

4.34
#7A68DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7A68DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A68DC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A68DC#FFFFFF#000000##000000
##7A68DC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#5B8198
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7a68dc;
/* rgb */ color: rgb(122, 104, 220);
/* oklch */ color: oklch(59.1% 0.170 287.1);
Tailwind
colors: {
  custom: {
    50: '#a693e7',
    500: '#7a68dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a68dc;
$custom-light: #a693e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a68dc",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 249.31,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59148,
    "c": 0.17048,
    "h": 287.1
  },
  "luminance": 0.19206
}

Semantic roles & 50–950 ramp

primary
#7A68DC
secondary
#DEE4BB
accent
#CA1BAF
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A68DC

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

Preview Lab → · Contrast checker → · Palette generator →

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