#7E6BBF#7E6BBF

#7E6BBF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.3% C 0.127 H 292.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7E6BBF
RGBrgb(126, 107, 191)
HSLhsl(254, 40%, 58%)
HSVhsv(254, 44%, 75%)
CMYKcmyk(34%, 44%, 0%, 25.1%)
CIE-LABlab(50.35, 26.78, -41.60)
CIE-LCHlch(50.35, 49.47, 302.77°)
OKLaboklab(58.27% 0.0483 -0.117)
OKLCHoklch(58.27% 0.127 292.4)
XYZxyz(23.2634, 18.7121, 51.6662)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BBF #ACBF6B
analogous
#6B82BF #7E6BBF #A86BBF
triadic
#7E6BBF #BF7E6B #6BBF7E
tetradic
#7E6BBF #BF6B82 #ACBF6B #6BBFA8
square
#7E6BBF #BF6B82 #ACBF6B #6BBFA8
split-complementary
#7E6BBF #BFA86B #82BF6B
monochromatic
#45357B #5D47A5 #7E6BBF #A396D1 #C8C0E4

Accessibility & contrast

On white

4.43
#7E6BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7E6BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BBF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BBF#FFFFFF#000000##000000
##7E6BBF1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C2
Deuteranopia (green-blind)
#5276BD
Tritanopia (blue-blind)
#6F7B8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7e6bbf;
/* rgb */ color: rgb(126, 107, 191);
/* oklch */ color: oklch(58.3% 0.127 292.4);
Tailwind
colors: {
  custom: {
    50: '#a695d3',
    500: '#7e6bbf',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bbf;
$custom-light: #a695d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bbf",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 191
  },
  "hsl": {
    "h": 253.571,
    "s": 39.623,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58267,
    "c": 0.12653,
    "h": 292.4
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#7E6BBF
secondary
#CCD4B2
accent
#D058B5
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #7E6BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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