#7F6DCD#7F6DCD

#7F6DCD is a mid, vivid violet. Relative luminance 0.199; OKLCH L 59.5% C 0.143 H 290.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#7F6DCD
RGBrgb(127, 109, 205)
HSLhsl(251, 49%, 62%)
HSVhsv(251, 47%, 80%)
CMYKcmyk(38%, 46.8%, 0%, 19.6%)
CIE-LABlab(51.67, 29.67, -47.51)
CIE-LCHlch(51.67, 56.02, 301.98°)
OKLaboklab(59.53% 0.0488 -0.1342)
OKLCHoklch(59.53% 0.143 290)
XYZxyz(25.2375, 19.8564, 60.2487)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DCD #BBCD6D
analogous
#6D8BCD #7F6DCD #AF6DCD
triadic
#7F6DCD #CD7F6D #6DCD7F
tetradic
#7F6DCD #CD6D8B #BBCD6D #6DCDAF
square
#7F6DCD #CD6D8B #BBCD6D #6DCDAF
split-complementary
#7F6DCD #CDAF6D #8BCD6D
monochromatic
#42318F #5840BC #7F6DCD #A79BDD #CFC8EC

Accessibility & contrast

On white

4.22
#7F6DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#7F6DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DCD
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DCD#FFFFFF#000000##000000
##7F6DCD1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7DD0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#6B8093
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7f6dcd;
/* rgb */ color: rgb(127, 109, 205);
/* oklch */ color: oklch(59.5% 0.143 290.0);
Tailwind
colors: {
  custom: {
    50: '#a897dd',
    500: '#7f6dcd',
    950: '#000000',
  },
}
SCSS
$custom: #7f6dcd;
$custom-light: #a897dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6dcd",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 251.25,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59531,
    "c": 0.14281,
    "h": 290
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#7F6DCD
secondary
#D6DDB9
accent
#BC29A1
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7F6DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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