#7A66CA#7A66CA

#7A66CA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.6% C 0.149 H 290.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#7A66CA
RGBrgb(122, 102, 202)
HSLhsl(252, 49%, 60%)
HSVhsv(252, 50%, 79%)
CMYKcmyk(39.6%, 49.5%, 0%, 20.8%)
CIE-LABlab(49.38, 31.72, -49.48)
CIE-LCHlch(49.38, 58.78, 302.66°)
OKLaboklab(57.65% 0.0513 -0.1401)
OKLCHoklch(57.65% 0.149 290.1)
XYZxyz(23.4352, 17.9039, 58.0867)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66CA #B6CA66
analogous
#6684CA #7A66CA #AC66CA
triadic
#7A66CA #CA7A66 #66CA7A
tetradic
#7A66CA #CA6684 #B6CA66 #66CAAC
square
#7A66CA #CA6684 #B6CA66 #66CAAC
split-complementary
#7A66CA #CAAC66 #84CA66
monochromatic
#402F87 #563EB4 #7A66CA #A293DA #C9C1E9

Accessibility & contrast

On white

4.58
#7A66CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#7A66CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66CA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66CA#FFFFFF#000000##000000
##7A66CA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E77CE
Deuteranopia (green-blind)
#4073C8
Tritanopia (blue-blind)
#647A8E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a66ca;
/* rgb */ color: rgb(122, 102, 202);
/* oklch */ color: oklch(57.6% 0.149 290.1);
Tailwind
colors: {
  custom: {
    50: '#a492db',
    500: '#7a66ca',
    950: '#000000',
  },
}
SCSS
$custom: #7a66ca;
$custom-light: #a492db;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66ca",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57647,
    "c": 0.14922,
    "h": 290.1
  },
  "luminance": 0.17905
}

Semantic roles & 50–950 ramp

primary
#7A66CA
secondary
#D2D9B2
accent
#D850BD
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7A66CA

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

Preview Lab → · Contrast checker → · Palette generator →

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