#7A66DD#7A66DD

#7A66DD is a mid, vivid violet. Relative luminance 0.189; OKLCH L 58.9% C 0.175 H 287.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7A66DD
RGBrgb(122, 102, 221)
HSLhsl(250, 64%, 63%)
HSVhsv(250, 54%, 87%)
CMYKcmyk(44.8%, 53.8%, 0%, 13.3%)
CIE-LABlab(50.52, 37.11, -58.47)
CIE-LCHlch(50.52, 69.25, 302.40°)
OKLaboklab(58.87% 0.0525 -0.1665)
OKLCHoklch(58.87% 0.175 287.5)
XYZxyz(25.8248, 18.8598, 70.6722)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66DD #C9DD66
analogous
#668DDD #7A66DD #B566DD
triadic
#7A66DD #DD7A66 #66DD7A
tetradic
#7A66DD #DD668D #C9DD66 #66DDB5
square
#7A66DD #DD668D #C9DD66 #66DDB5
split-complementary
#7A66DD #DDB566 #8DDD66
monochromatic
#3A24A4 #4E34D2 #7A66DD #A698E8 #D1CAF3

Accessibility & contrast

On white

4.40
#7A66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7A66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66DD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66DD#FFFFFF#000000##000000
##7A66DD1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#5B8098
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a66dd;
/* rgb */ color: rgb(122, 102, 221);
/* oklch */ color: oklch(58.9% 0.175 287.5);
Tailwind
colors: {
  custom: {
    50: '#a692e8',
    500: '#7a66dd',
    950: '#000000',
  },
}
SCSS
$custom: #7a66dd;
$custom-light: #a692e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66dd",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 250.084,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58868,
    "c": 0.1746,
    "h": 287.5
  },
  "luminance": 0.18861
}

Semantic roles & 50–950 ramp

primary
#7A66DD
secondary
#DDE5BA
accent
#CB1AAE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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