#7D6BEE#7D6BEE

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

Color values

HEX#7D6BEE
RGBrgb(125, 107, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 55%, 93%)
CMYKcmyk(47.5%, 55%, 0%, 6.7%)
CIE-LABlab(53.00, 39.74, -64.02)
CIE-LCHlch(53.00, 75.36, 301.83°)
OKLaboklab(61.11% 0.051 -0.1827)
OKLCHoklch(61.11% 0.19 285.6)
XYZxyz(29.1432, 21.0471, 83.3992)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BEE #DCEE6B
analogous
#6B9BEE #7D6BEE #BE6BEE
triadic
#7D6BEE #EE7D6B #6BEE7D
tetradic
#7D6BEE #EE6B9B #DCEE6B #6BEEBE
square
#7D6BEE #EE6B9B #DCEE6B #6BEEBE
split-complementary
#7D6BEE #EEBE6B #9BEE6B
monochromatic
#2F17C8 #4D34E8 #7D6BEE #ADA2F4 #DDD9FB

Accessibility & contrast

On white

4.03
#7D6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#7D6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BEE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BEE#FFFFFF#000000##000000
##7D6BEE1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B82F2
Deuteranopia (green-blind)
#147BEB
Tritanopia (blue-blind)
#5688A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6bee;
/* rgb */ color: rgb(125, 107, 238);
/* oklch */ color: oklch(61.1% 0.190 285.6);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7d6bee',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bee;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bee",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 248.244,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61113,
    "c": 0.18971,
    "h": 285.6
  },
  "luminance": 0.21048
}

Semantic roles & 50–950 ramp

primary
#7D6BEE
secondary
#E9EFC6
accent
#DC0ABF
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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