#7D6BD1#7D6BD1

#7D6BD1 is a mid, vivid violet. Relative luminance 0.195; OKLCH L 59.2% C 0.151 H 289.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7D6BD1
RGBrgb(125, 107, 209)
HSLhsl(251, 53%, 62%)
HSVhsv(251, 49%, 82%)
CMYKcmyk(40.2%, 48.8%, 0%, 18%)
CIE-LABlab(51.24, 31.46, -50.49)
CIE-LCHlch(51.24, 59.49, 301.93°)
OKLaboklab(59.24% 0.0494 -0.143)
OKLCHoklch(59.24% 0.151 289)
XYZxyz(25.2206, 19.4780, 62.7400)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BD1 #BFD16B
analogous
#6B8CD1 #7D6BD1 #B06BD1
triadic
#7D6BD1 #D17D6B #6BD17D
tetradic
#7D6BD1 #D16B8C #BFD16B #6BD1B0
square
#7D6BD1 #D16B8C #BFD16B #6BD1B0
split-complementary
#7D6BD1 #D1B06B #8CD16B
monochromatic
#402E94 #543CC2 #7D6BD1 #A69AE0 #CFC8EE

Accessibility & contrast

On white

4.29
#7D6BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#7D6BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BD1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BD1#FFFFFF#000000##000000
##7D6BD11.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437CD5
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#668094
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6bd1;
/* rgb */ color: rgb(125, 107, 209);
/* oklch */ color: oklch(59.2% 0.151 289.0);
Tailwind
colors: {
  custom: {
    50: '#a795e0',
    500: '#7d6bd1',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bd1;
$custom-light: #a795e0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bd1",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 209
  },
  "hsl": {
    "h": 250.588,
    "s": 52.577,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.15127,
    "h": 289
  },
  "luminance": 0.19479
}

Semantic roles & 50–950 ramp

primary
#7D6BD1
secondary
#D8DFB9
accent
#C026A5
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7D6BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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