#7C66DA#7C66DA

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

Color values

HEX#7C66DA
RGBrgb(124, 102, 218)
HSLhsl(251, 61%, 63%)
HSVhsv(251, 53%, 85%)
CMYKcmyk(43.1%, 53.2%, 0%, 14.5%)
CIE-LABlab(50.51, 36.70, -56.78)
CIE-LCHlch(50.51, 67.61, 302.88°)
OKLaboklab(58.84% 0.0549 -0.1615)
OKLCHoklch(58.84% 0.171 288.8)
XYZxyz(25.7149, 18.8489, 68.5994)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66DA #C4DA66
analogous
#668ADA #7C66DA #B666DA
triadic
#7C66DA #DA7C66 #66DA7C
tetradic
#7C66DA #DA668A #C4DA66 #66DAB6
square
#7C66DA #DA668A #C4DA66 #66DAB6
split-complementary
#7C66DA #DAB666 #8ADA66
monochromatic
#3D269F #5235CE #7C66DA #A697E6 #D0C9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C66DA#FFFFFF#000000##000000
##7C66DA1.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)
#2E7BDE
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#607F96
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c66da;
/* rgb */ color: rgb(124, 102, 218);
/* oklch */ color: oklch(58.8% 0.171 288.8);
Tailwind
colors: {
  custom: {
    50: '#a792e6',
    500: '#7c66da',
    950: '#000000',
  },
}
SCSS
$custom: #7c66da;
$custom-light: #a792e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66da",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 218
  },
  "hsl": {
    "h": 251.379,
    "s": 61.053,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.17056,
    "h": 288.8
  },
  "luminance": 0.1885
}

Semantic roles & 50–950 ramp

primary
#7C66DA
secondary
#DBE3B9
accent
#C91DA8
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7C66DA

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

Preview Lab → · Contrast checker → · Palette generator →

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