#7E6FBE#7E6FBE

#7E6FBE is a mid, moderate violet. Relative luminance 0.195; OKLCH L 59.0% C 0.119 H 291.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7E6FBE
RGBrgb(126, 111, 190)
HSLhsl(251, 38%, 59%)
HSVhsv(251, 42%, 75%)
CMYKcmyk(33.7%, 41.6%, 0%, 25.5%)
CIE-LABlab(51.29, 24.13, -39.54)
CIE-LCHlch(51.29, 46.31, 301.39°)
OKLaboklab(58.97% 0.0426 -0.1109)
OKLCHoklch(58.97% 0.119 291)
XYZxyz(23.5805, 19.5217, 51.2309)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FBE #AFBE6F
analogous
#6F88BE #7E6FBE #A66FBE
triadic
#7E6FBE #BE7E6F #6FBE7E
tetradic
#7E6FBE #BE6F88 #AFBE6F #6FBEA6
square
#7E6FBE #BE6F88 #AFBE6F #6FBEA6
split-complementary
#7E6FBE #BEA66F #88BE6F
monochromatic
#44387B #5C4BA5 #7E6FBE #A499D1 #CAC3E4

Accessibility & contrast

On white

4.28
#7E6FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7E6FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FBE
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FBE#FFFFFF#000000##000000
##7E6FBE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#567CC1
Deuteranopia (green-blind)
#5779BC
Tritanopia (blue-blind)
#6F7E8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e6fbe;
/* rgb */ color: rgb(126, 111, 190);
/* oklch */ color: oklch(59.0% 0.119 291.0);
Tailwind
colors: {
  custom: {
    50: '#a698d2',
    500: '#7e6fbe',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fbe;
$custom-light: #a698d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fbe",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 190
  },
  "hsl": {
    "h": 251.392,
    "s": 37.799,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58965,
    "c": 0.11885,
    "h": 291
  },
  "luminance": 0.19522
}

Semantic roles & 50–950 ramp

primary
#7E6FBE
secondary
#CED4B5
accent
#CE5AB8
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7E6FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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