#7D66CD#7D66CD

#7D66CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.1% C 0.153 H 291.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#7D66CD
RGBrgb(125, 102, 205)
HSLhsl(253, 51%, 60%)
HSVhsv(253, 50%, 80%)
CMYKcmyk(39%, 50.2%, 0%, 19.6%)
CIE-LABlab(49.82, 33.30, -50.48)
CIE-LCHlch(49.82, 60.47, 303.41°)
OKLaboklab(58.1% 0.0553 -0.143)
OKLCHoklch(58.1% 0.153 291.1)
XYZxyz(24.2253, 18.2698, 59.9958)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66CD #B6CD66
analogous
#6682CD #7D66CD #B066CD
triadic
#7D66CD #CD7D66 #66CD7D
tetradic
#7D66CD #CD6682 #B6CD66 #66CDB0
square
#7D66CD #CD6682 #B6CD66 #66CDB0
split-complementary
#7D66CD #CDB066 #82CD66
monochromatic
#422D8B #583DB9 #7D66CD #A494DC #CBC2EB

Accessibility & contrast

On white

4.51
#7D66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#7D66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66CD#FFFFFF#000000##000000
##7D66CD1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#4074CB
Tritanopia (blue-blind)
#687B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7d66cd;
/* rgb */ color: rgb(125, 102, 205);
/* oklch */ color: oklch(58.1% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#a792dd',
    500: '#7d66cd',
    950: '#000000',
  },
}
SCSS
$custom: #7d66cd;
$custom-light: #a792dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66cd",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 253.398,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58099,
    "c": 0.15328,
    "h": 291.1
  },
  "luminance": 0.1827
}

Semantic roles & 50–950 ramp

primary
#7D66CD
secondary
#D2DBB4
accent
#BE279C
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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