#7A66DB#7A66DB

#7A66DB is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.7% C 0.172 H 287.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7A66DB
RGBrgb(122, 102, 219)
HSLhsl(250, 62%, 63%)
HSVhsv(250, 53%, 86%)
CMYKcmyk(44.3%, 53.4%, 0%, 14.1%)
CIE-LABlab(50.40, 36.54, -57.54)
CIE-LCHlch(50.40, 68.16, 302.41°)
OKLaboklab(58.74% 0.0525 -0.1638)
OKLCHoklch(58.74% 0.172 287.8)
XYZxyz(25.5599, 18.7538, 69.2772)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66DB #C7DB66
analogous
#668DDB #7A66DB #B466DB
triadic
#7A66DB #DB7A66 #66DB7A
tetradic
#7A66DB #DB668D #C7DB66 #66DBB4
square
#7A66DB #DB668D #C7DB66 #66DBB4
split-complementary
#7A66DB #DBB466 #8DDB66
monochromatic
#3B26A1 #4F34CF #7A66DB #A598E7 #D0C9F2

Accessibility & contrast

On white

4.42
#7A66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7A66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66DB#FFFFFF#000000##000000
##7A66DB1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7BDF
Deuteranopia (green-blind)
#2B75D8
Tritanopia (blue-blind)
#5C7F97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a66db;
/* rgb */ color: rgb(122, 102, 219);
/* oklch */ color: oklch(58.7% 0.172 287.8);
Tailwind
colors: {
  custom: {
    50: '#a692e7',
    500: '#7a66db',
    950: '#000000',
  },
}
SCSS
$custom: #7a66db;
$custom-light: #a692e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66db",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 250.256,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58735,
    "c": 0.17196,
    "h": 287.8
  },
  "luminance": 0.18755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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