#7A66DC#7A66DC

#7A66DC is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.8% C 0.173 H 287.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#7A66DC
RGBrgb(122, 102, 220)
HSLhsl(250, 63%, 63%)
HSVhsv(250, 54%, 86%)
CMYKcmyk(44.5%, 53.6%, 0%, 13.7%)
CIE-LABlab(50.46, 36.82, -58.01)
CIE-LCHlch(50.46, 68.71, 302.41°)
OKLaboklab(58.8% 0.0525 -0.1651)
OKLCHoklch(58.8% 0.173 287.6)
XYZxyz(25.6920, 18.8066, 69.9726)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66DC #C8DC66
analogous
#668DDC #7A66DC #B566DC
triadic
#7A66DC #DC7A66 #66DC7A
tetradic
#7A66DC #DC668D #C8DC66 #66DCB5
square
#7A66DC #DC668D #C8DC66 #66DCB5
split-complementary
#7A66DC #DCB566 #8DDC66
monochromatic
#3A25A2 #4F34D1 #7A66DC #A598E7 #D1CAF3

Accessibility & contrast

On white

4.41
#7A66DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7A66DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66DC#FFFFFF#000000##000000
##7A66DC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#5C8097
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a66dc;
/* rgb */ color: rgb(122, 102, 220);
/* oklch */ color: oklch(58.8% 0.173 287.6);
Tailwind
colors: {
  custom: {
    50: '#a692e7',
    500: '#7a66dc',
    950: '#000000',
  },
}
SCSS
$custom: #7a66dc;
$custom-light: #a692e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66dc",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 250.169,
    "s": 62.766,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58801,
    "c": 0.17328,
    "h": 287.6
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#7A66DC
secondary
#DDE4BA
accent
#CB1BAD
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A66DC

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

Preview Lab → · Contrast checker → · Palette generator →

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