#7D6BE5#7D6BE5

#7D6BE5 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.5% C 0.178 H 286.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7D6BE5
RGBrgb(125, 107, 229)
HSLhsl(249, 70%, 66%)
HSVhsv(249, 53%, 90%)
CMYKcmyk(45.4%, 53.3%, 0%, 10.2%)
CIE-LABlab(52.43, 37.14, -59.90)
CIE-LCHlch(52.43, 70.48, 301.81°)
OKLaboklab(60.51% 0.0507 -0.1706)
OKLCHoklch(60.51% 0.178 286.6)
XYZxyz(27.8539, 20.5313, 76.6089)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BE5 #D3E56B
analogous
#6B96E5 #7D6BE5 #BA6BE5
triadic
#7D6BE5 #E57D6B #6BE57D
tetradic
#7D6BE5 #E56B96 #D3E56B #6BE5BA
square
#7D6BE5 #E56B96 #D3E56B #6BE5BA
split-complementary
#7D6BE5 #E5BA6B #96E56B
monochromatic
#3620B6 #4F37DC #7D6BE5 #AB9FEE #D8D3F7

Accessibility & contrast

On white

4.11
#7D6BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#7D6BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BE5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BE5#FFFFFF#000000##000000
##7D6BE51.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C80E9
Deuteranopia (green-blind)
#2A7AE2
Tritanopia (blue-blind)
#5C859E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d6be5;
/* rgb */ color: rgb(125, 107, 229);
/* oklch */ color: oklch(60.5% 0.178 286.6);
Tailwind
colors: {
  custom: {
    50: '#a996ee',
    500: '#7d6be5',
    950: '#000000',
  },
}
SCSS
$custom: #7d6be5;
$custom-light: #a996ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6be5",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 229
  },
  "hsl": {
    "h": 248.852,
    "s": 70.115,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6051,
    "c": 0.17799,
    "h": 286.6
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#7D6BE5
secondary
#E4EAC2
accent
#D213B6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D6BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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