#7D6FC2#7D6FC2

#7D6FC2 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.1% C 0.124 H 289.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7D6FC2
RGBrgb(125, 111, 194)
HSLhsl(250, 40%, 60%)
HSVhsv(250, 43%, 76%)
CMYKcmyk(35.6%, 42.8%, 0%, 23.9%)
CIE-LABlab(51.41, 24.93, -41.66)
CIE-LCHlch(51.41, 48.55, 300.90°)
OKLaboklab(59.1% 0.0421 -0.1171)
OKLCHoklch(59.1% 0.124 289.8)
XYZxyz(23.8769, 19.6233, 53.5581)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6FC2 #B4C26F
analogous
#6F8BC2 #7D6FC2 #A66FC2
triadic
#7D6FC2 #C27D6F #6FC27D
tetradic
#7D6FC2 #C26F8B #B4C26F #6FC2A6
square
#7D6FC2 #C26F8B #B4C26F #6FC2A6
split-complementary
#7D6FC2 #C2A66F #8BC26F
monochromatic
#433680 #5949AB #7D6FC2 #A49AD4 #CBC5E6

Accessibility & contrast

On white

4.26
#7D6FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7D6FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6FC2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6FC2#FFFFFF#000000##000000
##7D6FC21.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#547CC5
Deuteranopia (green-blind)
#5479C0
Tritanopia (blue-blind)
#6C7F8F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d6fc2;
/* rgb */ color: rgb(125, 111, 194);
/* oklch */ color: oklch(59.1% 0.124 289.8);
Tailwind
colors: {
  custom: {
    50: '#a598d5',
    500: '#7d6fc2',
    950: '#000000',
  },
}
SCSS
$custom: #7d6fc2;
$custom-light: #a598d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6fc2",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 194
  },
  "hsl": {
    "h": 250.12,
    "s": 40.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59098,
    "c": 0.12449,
    "h": 289.8
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#7D6FC2
secondary
#D1D6B6
accent
#D057BC
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #7D6FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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