#7E6BCD#7E6BCD

#7E6BCD is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.1% C 0.146 H 290.1°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7E6BCD
RGBrgb(126, 107, 205)
HSLhsl(252, 49%, 61%)
HSVhsv(252, 48%, 80%)
CMYKcmyk(38.5%, 47.8%, 0%, 19.6%)
CIE-LABlab(51.10, 30.60, -48.43)
CIE-LCHlch(51.10, 57.29, 302.29°)
OKLaboklab(59.08% 0.0502 -0.1369)
OKLCHoklch(59.08% 0.146 290.1)
XYZxyz(24.8783, 19.3581, 60.1715)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BCD #BACD6B
analogous
#6B89CD #7E6BCD #AF6BCD
triadic
#7E6BCD #CD7E6B #6BCD7E
tetradic
#7E6BCD #CD6B89 #BACD6B #6BCDAF
square
#7E6BCD #CD6B89 #BACD6B #6BCDAF
split-complementary
#7E6BCD #CDAF6B #89CD6B
monochromatic
#42308E #573FBB #7E6BCD #A699DC #CEC6EC

Accessibility & contrast

On white

4.31
#7E6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7E6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BCD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BCD#FFFFFF#000000##000000
##7E6BCD1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#697F92
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e6bcd;
/* rgb */ color: rgb(126, 107, 205);
/* oklch */ color: oklch(59.1% 0.146 290.1);
Tailwind
colors: {
  custom: {
    50: '#a795dd',
    500: '#7e6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bcd;
$custom-light: #a795dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bcd",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 251.633,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.14581,
    "h": 290.1
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#7E6BCD
secondary
#D5DCB8
accent
#BD29A0
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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