#7A66CE#7A66CE

#7A66CE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.155 H 289.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7A66CE
RGBrgb(122, 102, 206)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 50%, 81%)
CMYKcmyk(40.8%, 50.5%, 0%, 19.2%)
CIE-LABlab(49.61, 32.84, -51.40)
CIE-LCHlch(49.61, 61.00, 302.58°)
OKLaboklab(57.9% 0.0517 -0.1457)
OKLCHoklch(57.9% 0.155 289.5)
XYZxyz(23.9149, 18.0958, 60.6133)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66CE #BACE66
analogous
#6686CE #7A66CE #AE66CE
triadic
#7A66CE #CE7A66 #66CE7A
tetradic
#7A66CE #CE6686 #BACE66 #66CEAE
square
#7A66CE #CE6686 #BACE66 #66CEAE
split-complementary
#7A66CE #CEAE66 #86CE66
monochromatic
#3F2D8D #543CBB #7A66CE #A294DD #CBC3EC

Accessibility & contrast

On white

4.55
#7A66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7A66CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66CE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66CE#FFFFFF#000000##000000
##7A66CE1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B78D2
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#637B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7a66ce;
/* rgb */ color: rgb(122, 102, 206);
/* oklch */ color: oklch(57.9% 0.155 289.5);
Tailwind
colors: {
  custom: {
    50: '#a592dd',
    500: '#7a66ce',
    950: '#000000',
  },
}
SCSS
$custom: #7a66ce;
$custom-light: #a592dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66ce",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 251.538,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57897,
    "c": 0.15463,
    "h": 289.5
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#7A66CE
secondary
#D4DCB4
accent
#BF27A2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7A66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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