#7D6FE4#7D6FE4

#7D6FE4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.1% C 0.171 H 285.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6FE4
RGBrgb(125, 111, 228)
HSLhsl(247, 68%, 66%)
HSVhsv(247, 51%, 89%)
CMYKcmyk(45.2%, 51.3%, 0%, 10.6%)
CIE-LABlab(53.31, 34.51, -57.93)
CIE-LCHlch(53.31, 67.43, 300.78°)
OKLaboklab(61.14% 0.0461 -0.1648)
OKLCHoklch(61.14% 0.171 285.6)
XYZxyz(28.1414, 21.3291, 76.0179)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6FE4 #D6E46F
analogous
#6F9CE4 #7D6FE4 #B76FE4
triadic
#7D6FE4 #E47D6F #6FE47D
tetradic
#7D6FE4 #E46F9C #D6E46F #6FE4B7
square
#7D6FE4 #E46F9C #D6E46F #6FE4B7
split-complementary
#7D6FE4 #E4B76F #9CE46F
monochromatic
#3422B6 #4E3BDA #7D6FE4 #ACA3EE #DAD6F7

Accessibility & contrast

On white

3.99
#7D6FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7D6FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6FE4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6FE4#FFFFFF#000000##000000
##7D6FE41.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E8
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#5C889F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6fe4;
/* rgb */ color: rgb(125, 111, 228);
/* oklch */ color: oklch(61.1% 0.171 285.6);
Tailwind
colors: {
  custom: {
    50: '#a898ed',
    500: '#7d6fe4',
    950: '#000000',
  },
}
SCSS
$custom: #7d6fe4;
$custom-light: #a898ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6fe4",
  "rgb": {
    "r": 125,
    "g": 111,
    "b": 228
  },
  "hsl": {
    "h": 247.179,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.17112,
    "h": 285.6
  },
  "luminance": 0.2133
}

Semantic roles & 50–950 ramp

primary
#7D6FE4
secondary
#E6EAC4
accent
#D015BA
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D6FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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