#7D6BC2#7D6BC2

#7D6BC2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 58.3% C 0.131 H 291.3°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#7D6BC2
RGBrgb(125, 107, 194)
HSLhsl(252, 42%, 59%)
HSVhsv(252, 45%, 76%)
CMYKcmyk(35.6%, 44.8%, 0%, 23.9%)
CIE-LABlab(50.42, 27.32, -43.23)
CIE-LCHlch(50.42, 51.13, 302.29°)
OKLaboklab(58.35% 0.0475 -0.1217)
OKLCHoklch(58.35% 0.131 291.3)
XYZxyz(23.4502, 18.7698, 53.4159)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BC2 #B0C26B
analogous
#6B85C2 #7D6BC2 #A96BC2
triadic
#7D6BC2 #C27D6B #6BC27D
tetradic
#7D6BC2 #C26B85 #B0C26B #6BC2A9
square
#7D6BC2 #C26B85 #B0C26B #6BC2A9
split-complementary
#7D6BC2 #C2A96B #85C26B
monochromatic
#44347E #5B46AA #7D6BC2 #A396D4 #C9C2E6

Accessibility & contrast

On white

4.42
#7D6BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#7D6BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BC2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BC2#FFFFFF#000000##000000
##7D6BC21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E79C5
Deuteranopia (green-blind)
#4F76C0
Tritanopia (blue-blind)
#6C7C8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7d6bc2;
/* rgb */ color: rgb(125, 107, 194);
/* oklch */ color: oklch(58.3% 0.131 291.3);
Tailwind
colors: {
  custom: {
    50: '#a595d5',
    500: '#7d6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bc2;
$custom-light: #a595d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bc2",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 252.414,
    "s": 41.627,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.13066,
    "h": 291.3
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#7D6BC2
secondary
#CED5B3
accent
#D156B8
background
#FAF9FD
surface
#F4F1FA
border
#CECBD3
text
#100D14
muted
#7F7E83

Preview Lab

Preview with #7D6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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