#7E6FCD#7E6FCD

#7E6FCD is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.140 H 288.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E6FCD
RGBrgb(126, 111, 205)
HSLhsl(250, 48%, 62%)
HSVhsv(250, 46%, 80%)
CMYKcmyk(38.5%, 45.9%, 0%, 19.6%)
CIE-LABlab(52.08, 28.23, -46.88)
CIE-LCHlch(52.08, 54.72, 301.05°)
OKLaboklab(59.81% 0.045 -0.1324)
OKLCHoklch(59.81% 0.14 288.8)
XYZxyz(25.3051, 20.2115, 60.3137)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6FCD #BECD6F
analogous
#6F8FCD #7E6FCD #AD6FCD
triadic
#7E6FCD #CD7E6F #6FCD7E
tetradic
#7E6FCD #CD6F8F #BECD6F #6FCDAD
square
#7E6FCD #CD6F8F #BECD6F #6FCDAD
split-complementary
#7E6FCD #CDAD6F #8FCD6F
monochromatic
#413290 #5542BD #7E6FCD #A79CDD #CFCAED

Accessibility & contrast

On white

4.16
#7E6FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7E6FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E6FCD
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6FCD#FFFFFF#000000##000000
##7E6FCD1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ED0
Deuteranopia (green-blind)
#4D7ACB
Tritanopia (blue-blind)
#698294
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e6fcd;
/* rgb */ color: rgb(126, 111, 205);
/* oklch */ color: oklch(59.8% 0.140 288.8);
Tailwind
colors: {
  custom: {
    50: '#a798dd',
    500: '#7e6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #7e6fcd;
$custom-light: #a798dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6fcd",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 249.574,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59813,
    "c": 0.13982,
    "h": 288.8
  },
  "luminance": 0.20212
}

Semantic roles & 50–950 ramp

primary
#7E6FCD
secondary
#D8DDBB
accent
#BC2AA4
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #7E6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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