#7C66CD#7C66CD

#7C66CD is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.0% C 0.153 H 290.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7C66CD
RGBrgb(124, 102, 205)
HSLhsl(253, 51%, 60%)
HSVhsv(253, 50%, 80%)
CMYKcmyk(39.5%, 50.2%, 0%, 19.6%)
CIE-LABlab(49.73, 33.05, -50.63)
CIE-LCHlch(49.73, 60.46, 303.14°)
OKLaboklab(58.01% 0.0541 -0.1434)
OKLCHoklch(58.01% 0.153 290.7)
XYZxyz(24.0800, 18.1949, 59.9890)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66CD #B7CD66
analogous
#6683CD #7C66CD #B066CD
triadic
#7C66CD #CD7C66 #66CD7C
tetradic
#7C66CD #CD6683 #B7CD66 #66CDB0
square
#7C66CD #CD6683 #B7CD66 #66CDB0
split-complementary
#7C66CD #CDB066 #83CD66
monochromatic
#412D8B #573DB9 #7C66CD #A394DC #CBC2EB

Accessibility & contrast

On white

4.53
#7C66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#7C66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66CD#FFFFFF#000000##000000
##7C66CD1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#3F74CB
Tritanopia (blue-blind)
#667B90
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c66cd;
/* rgb */ color: rgb(124, 102, 205);
/* oklch */ color: oklch(58.0% 0.153 290.7);
Tailwind
colors: {
  custom: {
    50: '#a692dd',
    500: '#7c66cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c66cd;
$custom-light: #a692dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66cd",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 252.816,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.15327,
    "h": 290.7
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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