#7E6FAF#7E6FAF

#7E6FAF is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.2% C 0.097 H 293.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#7E6FAF
RGBrgb(126, 111, 175)
HSLhsl(254, 29%, 56%)
HSVhsv(254, 37%, 69%)
CMYKcmyk(28%, 36.6%, 0%, 31.4%)
CIE-LABlab(50.57, 20.17, -32.00)
CIE-LCHlch(50.57, 37.83, 302.23°)
OKLaboklab(58.18% 0.0395 -0.0891)
OKLCHoklch(58.18% 0.097 293.9)
XYZxyz(22.0246, 18.8993, 43.0367)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FAF #A0AF6F
analogous
#6F80AF #7E6FAF #9E6FAF
triadic
#7E6FAF #AF7E6F #6FAF7E
tetradic
#7E6FAF #AF6F80 #A0AF6F #6FAF9E
square
#7E6FAF #AF6F80 #A0AF6F #6FAF9E
split-complementary
#7E6FAF #AF9E6F #80AF6F
monochromatic
#453A69 #5F5091 #7E6FAF #A196C5 #C4BEDB

Accessibility & contrast

On white

4.39
#7E6FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#7E6FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FAF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FAF#FFFFFF#000000##000000
##7E6FAF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E79B2
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#747A87
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e6faf;
/* rgb */ color: rgb(126, 111, 175);
/* oklch */ color: oklch(58.2% 0.097 293.9);
Tailwind
colors: {
  custom: {
    50: '#a598c7',
    500: '#7e6faf',
    950: '#000000',
  },
}
SCSS
$custom: #7e6faf;
$custom-light: #a598c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6faf",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 254.063,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58178,
    "c": 0.09748,
    "h": 293.9
  },
  "luminance": 0.189
}

Semantic roles & 50–950 ramp

primary
#7E6FAF
secondary
#C4CAB0
accent
#C563AE
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7E6FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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