#7E6BCA#7E6BCA

#7E6BCA is a mid, vivid violet. Relative luminance 0.192; OKLCH L 58.9% C 0.142 H 290.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#7E6BCA
RGBrgb(126, 107, 202)
HSLhsl(252, 47%, 61%)
HSVhsv(252, 47%, 79%)
CMYKcmyk(37.6%, 47%, 0%, 20.8%)
CIE-LABlab(50.94, 29.77, -46.98)
CIE-LCHlch(50.94, 55.62, 302.36°)
OKLaboklab(58.9% 0.0498 -0.1327)
OKLCHoklch(58.9% 0.142 290.6)
XYZxyz(24.5197, 19.2146, 58.2826)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6BCA #B7CA6B
analogous
#6B87CA #7E6BCA #AD6BCA
triadic
#7E6BCA #CA7E6B #6BCA7E
tetradic
#7E6BCA #CA6B87 #B7CA6B #6BCAAD
square
#7E6BCA #CA6B87 #B7CA6B #6BCAAD
split-complementary
#7E6BCA #CAAD6B #87CA6B
monochromatic
#433189 #5941B6 #7E6BCA #A598DA #CDC5EA

Accessibility & contrast

On white

4.34
#7E6BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#7E6BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6BCA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6BCA#FFFFFF#000000##000000
##7E6BCA1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#487BCD
Deuteranopia (green-blind)
#4A77C8
Tritanopia (blue-blind)
#6A7E91
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e6bca;
/* rgb */ color: rgb(126, 107, 202);
/* oklch */ color: oklch(58.9% 0.142 290.6);
Tailwind
colors: {
  custom: {
    50: '#a795da',
    500: '#7e6bca',
    950: '#000000',
  },
}
SCSS
$custom: #7e6bca;
$custom-light: #a795da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6bca",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 252,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.14171,
    "h": 290.6
  },
  "luminance": 0.19215
}

Semantic roles & 50–950 ramp

primary
#7E6BCA
secondary
#D3DAB6
accent
#BB2B9E
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E6BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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