#7A66CD#7A66CD

#7A66CD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.8% C 0.153 H 289.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#7A66CD
RGBrgb(122, 102, 205)
HSLhsl(252, 51%, 60%)
HSVhsv(252, 50%, 80%)
CMYKcmyk(40.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(49.55, 32.56, -50.92)
CIE-LCHlch(49.55, 60.44, 302.60°)
OKLaboklab(57.83% 0.0516 -0.1443)
OKLCHoklch(57.83% 0.153 289.7)
XYZxyz(23.7938, 18.0474, 59.9756)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A66CD #B9CD66
analogous
#6686CD #7A66CD #AD66CD
triadic
#7A66CD #CD7A66 #66CD7A
tetradic
#7A66CD #CD6686 #B9CD66 #66CDAD
square
#7A66CD #CD6686 #B9CD66 #66CDAD
split-complementary
#7A66CD #CDAD66 #86CD66
monochromatic
#402D8B #553DB9 #7A66CD #A294DC #CAC2EB

Accessibility & contrast

On white

4.56
#7A66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#7A66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A66CD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A66CD#FFFFFF#000000##000000
##7A66CD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a66cd;
/* rgb */ color: rgb(122, 102, 205);
/* oklch */ color: oklch(57.8% 0.153 289.7);
Tailwind
colors: {
  custom: {
    50: '#a592dd',
    500: '#7a66cd',
    950: '#000000',
  },
}
SCSS
$custom: #7a66cd;
$custom-light: #a592dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7a66cd",
  "rgb": {
    "r": 122,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 251.65,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.15328,
    "h": 289.7
  },
  "luminance": 0.18048
}

Semantic roles & 50–950 ramp

primary
#7A66CD
secondary
#D3DBB4
accent
#BE27A1
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7A66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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