#7E6CC5#7E6CC5

#7E6CC5 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 58.8% C 0.133 H 291.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E6CC5
RGBrgb(126, 108, 197)
HSLhsl(252, 43%, 60%)
HSVhsv(252, 45%, 77%)
CMYKcmyk(36%, 45.2%, 0%, 22.7%)
CIE-LABlab(50.91, 27.81, -44.16)
CIE-LCHlch(50.91, 52.19, 302.20°)
OKLaboklab(58.79% 0.0478 -0.1244)
OKLCHoklch(58.79% 0.133 291)
XYZxyz(24.0421, 19.1914, 55.2501)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6CC5 #B3C56C
analogous
#6C86C5 #7E6CC5 #AB6CC5
triadic
#7E6CC5 #C57E6C #6CC57E
tetradic
#7E6CC5 #C56C86 #B3C56C #6CC5AB
square
#7E6CC5 #C56C86 #B3C56C #6CC5AB
split-complementary
#7E6CC5 #C5AB6C #86C56C
monochromatic
#443483 #5A45AF #7E6CC5 #A598D6 #CBC4E8

Accessibility & contrast

On white

4.34
#7E6CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7E6CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6CC5
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6CC5#FFFFFF#000000##000000
##7E6CC51.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7BC8
Deuteranopia (green-blind)
#4F77C3
Tritanopia (blue-blind)
#6C7D8F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e6cc5;
/* rgb */ color: rgb(126, 108, 197);
/* oklch */ color: oklch(58.8% 0.133 291.0);
Tailwind
colors: {
  custom: {
    50: '#a696d7',
    500: '#7e6cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7e6cc5;
$custom-light: #a696d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6cc5",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 197
  },
  "hsl": {
    "h": 252.135,
    "s": 43.415,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.1333,
    "h": 291
  },
  "luminance": 0.19192
}

Semantic roles & 50–950 ramp

primary
#7E6CC5
secondary
#D1D8B5
accent
#D355BA
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7E6CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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