#7D6BD2#7D6BD2

#7D6BD2 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.3% C 0.153 H 288.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7D6BD2
RGBrgb(125, 107, 210)
HSLhsl(250, 53%, 62%)
HSVhsv(250, 49%, 82%)
CMYKcmyk(40.5%, 49%, 0%, 17.6%)
CIE-LABlab(51.30, 31.74, -50.97)
CIE-LCHlch(51.30, 60.05, 301.91°)
OKLaboklab(59.3% 0.0495 -0.1444)
OKLCHoklch(59.3% 0.153 288.9)
XYZxyz(25.3448, 19.5277, 63.3941)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BD2 #C0D26B
analogous
#6B8DD2 #7D6BD2 #B06BD2
triadic
#7D6BD2 #D27D6B #6BD27D
tetradic
#7D6BD2 #D26B8D #C0D26B #6BD2B0
square
#7D6BD2 #D26B8D #C0D26B #6BD2B0
split-complementary
#7D6BD2 #D2B06B #8DD26B
monochromatic
#402D95 #543CC4 #7D6BD2 #A69AE0 #CFC9EF

Accessibility & contrast

On white

4.28
#7D6BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#7D6BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BD2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BD2#FFFFFF#000000##000000
##7D6BD21.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#427CD6
Deuteranopia (green-blind)
#4278D0
Tritanopia (blue-blind)
#658095
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6bd2;
/* rgb */ color: rgb(125, 107, 210);
/* oklch */ color: oklch(59.3% 0.153 288.9);
Tailwind
colors: {
  custom: {
    50: '#a795e0',
    500: '#7d6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bd2;
$custom-light: #a795e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bd2",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 250.485,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.15262,
    "h": 288.9
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#7D6BD2
secondary
#D9DFB9
accent
#C125A6
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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