#7A66DA#7A66DA

#7A66DA is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.7% C 0.171 H 287.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A66DA
RGBrgb(122, 102, 218)
HSLhsl(250, 61%, 63%)
HSVhsv(250, 53%, 85%)
CMYKcmyk(44%, 53.2%, 0%, 14.5%)
CIE-LABlab(50.34, 36.25, -57.07)
CIE-LCHlch(50.34, 67.61, 302.42°)
OKLaboklab(58.67% 0.0524 -0.1624)
OKLCHoklch(58.67% 0.171 287.9)
XYZxyz(25.4287, 18.7013, 68.5860)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66DA #C6DA66
analogous
#668CDA #7A66DA #B466DA
triadic
#7A66DA #DA7A66 #66DA7A
tetradic
#7A66DA #DA668C #C6DA66 #66DAB4
square
#7A66DA #DA668C #C6DA66 #66DAB4
split-complementary
#7A66DA #DAB466 #8CDA66
monochromatic
#3B269F #4F35CE #7A66DA #A597E6 #D0C9F2

Accessibility & contrast

On white

4.43
#7A66DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7A66DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66DA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66DA#FFFFFF#000000##000000
##7A66DA1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADE
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#5D7F96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a66da;
/* rgb */ color: rgb(122, 102, 218);
/* oklch */ color: oklch(58.7% 0.171 287.9);
Tailwind
colors: {
  custom: {
    50: '#a692e6',
    500: '#7a66da',
    950: '#000000',
  },
}
SCSS
$custom: #7a66da;
$custom-light: #a692e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66da",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 250.345,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58669,
    "c": 0.17064,
    "h": 287.9
  },
  "luminance": 0.18702
}

Semantic roles & 50–950 ramp

primary
#7A66DA
secondary
#DCE3B9
accent
#C91DAB
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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