#7E6BD9#7E6BD9

#7E6BD9 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.8% C 0.162 H 288.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#7E6BD9
RGBrgb(126, 107, 217)
HSLhsl(250, 59%, 64%)
HSVhsv(250, 51%, 85%)
CMYKcmyk(41.9%, 50.7%, 0%, 14.9%)
CIE-LABlab(51.79, 33.95, -54.15)
CIE-LCHlch(51.79, 63.92, 302.09°)
OKLaboklab(59.82% 0.0513 -0.1537)
OKLCHoklch(59.82% 0.162 288.4)
XYZxyz(26.3828, 19.9598, 68.0947)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BD9 #C6D96B
analogous
#6B8FD9 #7E6BD9 #B56BD9
triadic
#7E6BD9 #D97E6B #6BD97E
tetradic
#7E6BD9 #D96B8F #C6D96B #6BD9B5
square
#7E6BD9 #D96B8F #C6D96B #6BD9B5
split-complementary
#7E6BD9 #D9B56B #8FD96B
monochromatic
#3E29A0 #543ACC #7E6BD9 #A89CE6 #D3CCF2

Accessibility & contrast

On white

4.21
#7E6BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#7E6BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BD9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BD9#FFFFFF#000000##000000
##7E6BD91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7EDD
Deuteranopia (green-blind)
#3C79D7
Tritanopia (blue-blind)
#648298
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e6bd9;
/* rgb */ color: rgb(126, 107, 217);
/* oklch */ color: oklch(59.8% 0.162 288.4);
Tailwind
colors: {
  custom: {
    50: '#a895e5',
    500: '#7e6bd9',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bd9;
$custom-light: #a895e5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bd9",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 217
  },
  "hsl": {
    "h": 250.364,
    "s": 59.14,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59819,
    "c": 0.16202,
    "h": 288.4
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#7E6BD9
secondary
#DDE3BC
accent
#C71FAA
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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