#7D66D4#7D66D4

#7D66D4 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.5% C 0.163 H 290.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7D66D4
RGBrgb(125, 102, 212)
HSLhsl(253, 56%, 62%)
HSVhsv(253, 52%, 83%)
CMYKcmyk(41%, 51.9%, 0%, 16.9%)
CIE-LABlab(50.23, 35.25, -53.81)
CIE-LCHlch(50.23, 64.33, 303.23°)
OKLaboklab(58.54% 0.0558 -0.1527)
OKLCHoklch(58.54% 0.163 290.1)
XYZxyz(25.0892, 18.6154, 64.5458)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66D4 #BDD466
analogous
#6686D4 #7D66D4 #B466D4
triadic
#7D66D4 #D47D66 #66D47D
tetradic
#7D66D4 #D46686 #BDD466 #66D4B4
square
#7D66D4 #D46686 #BDD466 #66D4B4
split-complementary
#7D66D4 #D4B466 #86D466
monochromatic
#412A96 #5537C5 #7D66D4 #A696E1 #CEC6EF

Accessibility & contrast

On white

4.45
#7D66D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7D66D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66D4#FFFFFF#000000##000000
##7D66D41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357AD8
Deuteranopia (green-blind)
#3875D2
Tritanopia (blue-blind)
#657D93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d66d4;
/* rgb */ color: rgb(125, 102, 212);
/* oklch */ color: oklch(58.5% 0.163 290.1);
Tailwind
colors: {
  custom: {
    50: '#a792e2',
    500: '#7d66d4',
    950: '#000000',
  },
}
SCSS
$custom: #7d66d4;
$custom-light: #a792e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66d4",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 252.545,
    "s": 56.122,
    "l": 61.569
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.16262,
    "h": 290.1
  },
  "luminance": 0.18616
}

Semantic roles & 50–950 ramp

primary
#7D66D4
secondary
#D7DFB6
accent
#C422A2
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D66D4

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

Preview Lab → · Contrast checker → · Palette generator →

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