#7F6DED#7F6DED

#7F6DED is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.186 H 286.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7F6DED
RGBrgb(127, 109, 237)
HSLhsl(248, 78%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(46.4%, 54%, 0%, 7.1%)
CIE-LABlab(53.56, 38.71, -62.56)
CIE-LCHlch(53.56, 73.57, 301.75°)
OKLaboklab(61.55% 0.0512 -0.1783)
OKLCHoklch(61.55% 0.186 286)
XYZxyz(29.5026, 21.5624, 82.7118)
Luminance0.2156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F6DED #DBED6D
analogous
#6D9BED #7F6DED #BF6DED
triadic
#7F6DED #ED7F6D #6DED7F
tetradic
#7F6DED #ED6D9B #DBED6D #6DEDBF
square
#7F6DED #ED6D9B #DBED6D #6DEDBF
split-complementary
#7F6DED #EDBF6D #9BED6D
monochromatic
#3119C7 #4F37E6 #7F6DED #AFA3F4 #DFDAFA

Accessibility & contrast

On white

3.95
#7F6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#7F6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F6DED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F6DED#FFFFFF#000000##000000
##7F6DED1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2683F1
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#5A89A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7f6ded;
/* rgb */ color: rgb(127, 109, 237);
/* oklch */ color: oklch(61.5% 0.186 286.0);
Tailwind
colors: {
  custom: {
    50: '#ab97f4',
    500: '#7f6ded',
    950: '#000000',
  },
}
SCSS
$custom: #7f6ded;
$custom-light: #ab97f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f6ded",
  "rgb": {
    "r": 127,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 248.438,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.18555,
    "h": 286
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#7F6DED
secondary
#E9EFC7
accent
#DA0BBD
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7F6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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