#7D6EBA#7D6EBA

#7D6EBA is a mid, moderate violet. Relative luminance 0.191; OKLCH L 58.5% C 0.115 H 291.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7D6EBA
RGBrgb(125, 110, 186)
HSLhsl(252, 36%, 58%)
HSVhsv(252, 41%, 73%)
CMYKcmyk(32.8%, 40.9%, 0%, 27.1%)
CIE-LABlab(50.75, 23.37, -38.09)
CIE-LCHlch(50.75, 44.68, 301.53°)
OKLaboklab(58.47% 0.0421 -0.1067)
OKLCHoklch(58.47% 0.115 291.5)
XYZxyz(22.8940, 19.0565, 48.9169)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6EBA #ABBA6E
analogous
#6E85BA #7D6EBA #A36EBA
triadic
#7D6EBA #BA7D6E #6EBA7D
tetradic
#7D6EBA #BA6E85 #ABBA6E #6EBAA3
square
#7D6EBA #BA6E85 #ABBA6E #6EBAA3
split-complementary
#7D6EBA #BAA36E #85BA6E
monochromatic
#443876 #5C4C9F #7D6EBA #A297CE #C7C1E1

Accessibility & contrast

On white

4.36
#7D6EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7D6EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6EBA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6EBA#FFFFFF#000000##000000
##7D6EBA1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577ABD
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#6F7C8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d6eba;
/* rgb */ color: rgb(125, 110, 186);
/* oklch */ color: oklch(58.5% 0.115 291.5);
Tailwind
colors: {
  custom: {
    50: '#a597cf',
    500: '#7d6eba',
    950: '#000000',
  },
}
SCSS
$custom: #7d6eba;
$custom-light: #a597cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6eba",
  "rgb": {
    "r": 125,
    "g": 110,
    "b": 186
  },
  "hsl": {
    "h": 251.842,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.11474,
    "h": 291.5
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#7D6EBA
secondary
#CBD1B3
accent
#CC5CB6
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #7D6EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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