#7E6FB2#7E6FB2

#7E6FB2 is a mid, moderate violet. Relative luminance 0.190; OKLCH L 58.3% C 0.102 H 293.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7E6FB2
RGBrgb(126, 111, 178)
HSLhsl(253, 30%, 57%)
HSVhsv(253, 38%, 70%)
CMYKcmyk(29.2%, 37.6%, 0%, 30.2%)
CIE-LABlab(50.71, 20.95, -33.52)
CIE-LCHlch(50.71, 39.53, 302.00°)
OKLaboklab(58.33% 0.0402 -0.0935)
OKLCHoklch(58.33% 0.102 293.3)
XYZxyz(22.3225, 19.0185, 44.6057)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FB2 #A3B26F
analogous
#6F82B2 #7E6FB2 #A06FB2
triadic
#7E6FB2 #B27E6F #6FB27E
tetradic
#7E6FB2 #B26F82 #A3B26F #6FB2A0
square
#7E6FB2 #B26F82 #A3B26F #6FB2A0
split-complementary
#7E6FB2 #B2A06F #82B26F
monochromatic
#453A6D #5F4F94 #7E6FB2 #A297C7 #C5BFDD

Accessibility & contrast

On white

4.37
#7E6FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#7E6FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FB2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FB2#FFFFFF#000000##000000
##7E6FB21.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7AB5
Deuteranopia (green-blind)
#5E78B0
Tritanopia (blue-blind)
#737B88
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e6fb2;
/* rgb */ color: rgb(126, 111, 178);
/* oklch */ color: oklch(58.3% 0.102 293.3);
Tailwind
colors: {
  custom: {
    50: '#a598c9',
    500: '#7e6fb2',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fb2;
$custom-light: #a598c9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fb2",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 178
  },
  "hsl": {
    "h": 253.433,
    "s": 30.317,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.10178,
    "h": 293.3
  },
  "luminance": 0.19019
}

Semantic roles & 50–950 ramp

primary
#7E6FB2
secondary
#C6CCB1
accent
#C761B0
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #7E6FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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