#7E6ACE#7E6ACE

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

Color values

HEX#7E6ACE
RGBrgb(126, 106, 206)
HSLhsl(252, 51%, 61%)
HSVhsv(252, 49%, 81%)
CMYKcmyk(38.8%, 48.5%, 0%, 19.2%)
CIE-LABlab(50.92, 31.47, -49.29)
CIE-LCHlch(50.92, 58.48, 302.55°)
OKLaboklab(58.96% 0.0515 -0.1394)
OKLCHoklch(58.96% 0.149 290.3)
XYZxyz(24.8958, 19.1992, 60.7747)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6ACE #BACE6A
analogous
#6A88CE #7E6ACE #B06ACE
triadic
#7E6ACE #CE7E6A #6ACE7E
tetradic
#7E6ACE #CE6A88 #BACE6A #6ACEB0
square
#7E6ACE #CE6A88 #BACE6A #6ACEB0
split-complementary
#7E6ACE #CEB06A #88CE6A
monochromatic
#422F8F #573EBD #7E6ACE #A698DD #CEC6EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6ACE#FFFFFF#000000##000000
##7E6ACE1.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)
#447BD2
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#697E92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e6ace;
/* rgb */ color: rgb(126, 106, 206);
/* oklch */ color: oklch(59.0% 0.149 290.3);
Tailwind
colors: {
  custom: {
    50: '#a795dd',
    500: '#7e6ace',
    950: '#000000',
  },
}
SCSS
$custom: #7e6ace;
$custom-light: #a795dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6ace",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 206
  },
  "hsl": {
    "h": 252,
    "s": 50.505,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.14867,
    "h": 290.3
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#7E6ACE
secondary
#D5DDB7
accent
#BE28A0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E6ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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