#7C66CB#7C66CB

#7C66CB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.9% C 0.151 H 291.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#7C66CB
RGBrgb(124, 102, 203)
HSLhsl(253, 49%, 60%)
HSVhsv(253, 50%, 80%)
CMYKcmyk(38.9%, 49.8%, 0%, 20.4%)
CIE-LABlab(49.62, 32.50, -49.67)
CIE-LCHlch(49.62, 59.36, 303.20°)
OKLaboklab(57.89% 0.0539 -0.1406)
OKLCHoklch(57.89% 0.151 291)
XYZxyz(23.8401, 18.0990, 58.7257)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C66CB #B5CB66
analogous
#6683CB #7C66CB #AE66CB
triadic
#7C66CB #CB7C66 #66CB7C
tetradic
#7C66CB #CB6683 #B5CB66 #66CBAE
square
#7C66CB #CB6683 #B5CB66 #66CBAE
split-complementary
#7C66CB #CBAE66 #83CB66
monochromatic
#422E88 #583EB6 #7C66CB #A394DB #CAC1EA

Accessibility & contrast

On white

4.55
#7C66CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#7C66CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C66CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C66CB#FFFFFF#000000##000000
##7C66CB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78CF
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#677A8F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #7c66cb;
/* rgb */ color: rgb(124, 102, 203);
/* oklch */ color: oklch(57.9% 0.151 291.0);
Tailwind
colors: {
  custom: {
    50: '#a692db',
    500: '#7c66cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c66cb;
$custom-light: #a692db;
$custom-dark: #000000;
JSON
{
  "hex": "#7c66cb",
  "rgb": {
    "r": 124,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 253.069,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.15058,
    "h": 291
  },
  "luminance": 0.181
}

Semantic roles & 50–950 ramp

primary
#7C66CB
secondary
#D1DAB3
accent
#D94FBB
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7C66CB

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

Preview Lab → · Contrast checker → · Palette generator →

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