#7A66EB#7A66EB

#7A66EB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.8% C 0.193 H 285.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7A66EB
RGBrgb(122, 102, 235)
HSLhsl(249, 77%, 66%)
HSVhsv(249, 57%, 92%)
CMYKcmyk(48.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(51.42, 41.15, -64.90)
CIE-LCHlch(51.42, 76.85, 302.38°)
OKLaboklab(59.82% 0.0527 -0.1854)
OKLCHoklch(59.82% 0.193 285.9)
XYZxyz(27.7684, 19.6372, 80.9084)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66EB #D7EB66
analogous
#6694EB #7A66EB #BD66EB
triadic
#7A66EB #EB7A66 #66EB7A
tetradic
#7A66EB #EB6694 #D7EB66 #66EBBD
square
#7A66EB #EB6694 #D7EB66 #66EBBD
split-complementary
#7A66EB #EBBD66 #94EB66
monochromatic
#3219BE #4B30E4 #7A66EB #A99CF2 #D8D2F9

Accessibility & contrast

On white

4.26
#7A66EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7A66EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66EB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66EB#FFFFFF#000000##000000
##7A66EB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EEF
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#53849F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7a66eb;
/* rgb */ color: rgb(122, 102, 235);
/* oklch */ color: oklch(59.8% 0.193 285.9);
Tailwind
colors: {
  custom: {
    50: '#a892f2',
    500: '#7a66eb',
    950: '#000000',
  },
}
SCSS
$custom: #7a66eb;
$custom-light: #a892f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66eb",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 249.023,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.19277,
    "h": 285.9
  },
  "luminance": 0.19638
}

Semantic roles & 50–950 ramp

primary
#7A66EB
secondary
#E6ECC1
accent
#D90CBA
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A66EB

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

Preview Lab → · Contrast checker → · Palette generator →

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