#7E6BDD#7E6BDD

#7E6BDD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.1% C 0.167 H 287.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7E6BDD
RGBrgb(126, 107, 221)
HSLhsl(250, 63%, 64%)
HSVhsv(250, 52%, 87%)
CMYKcmyk(43%, 51.6%, 0%, 13.3%)
CIE-LABlab(52.03, 35.09, -56.03)
CIE-LCHlch(52.03, 66.11, 302.05°)
OKLaboklab(60.07% 0.0516 -0.1592)
OKLCHoklch(60.07% 0.167 287.9)
XYZxyz(26.9093, 20.1705, 70.8680)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BDD #CADD6B
analogous
#6B91DD #7E6BDD #B76BDD
triadic
#7E6BDD #DD7E6B #6BDD7E
tetradic
#7E6BDD #DD6B91 #CADD6B #6BDDB7
square
#7E6BDD #DD6B91 #CADD6B #6BDDB7
split-complementary
#7E6BDD #DDB76B #91DD6B
monochromatic
#3C26A7 #5339D2 #7E6BDD #A99DE8 #D5CFF4

Accessibility & contrast

On white

4.17
#7E6BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7E6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BDD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BDD#FFFFFF#000000##000000
##7E6BDD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#3779DA
Tritanopia (blue-blind)
#62839A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e6bdd;
/* rgb */ color: rgb(126, 107, 221);
/* oklch */ color: oklch(60.1% 0.167 287.9);
Tailwind
colors: {
  custom: {
    50: '#a996e8',
    500: '#7e6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bdd;
$custom-light: #a996e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bdd",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 250,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60073,
    "c": 0.16736,
    "h": 287.9
  },
  "luminance": 0.20171
}

Semantic roles & 50–950 ramp

primary
#7E6BDD
secondary
#DFE6BE
accent
#CA1BAD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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