#7D6AEB#7D6AEB

#7D6AEB is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.7% C 0.187 H 286.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7D6AEB
RGBrgb(125, 106, 235)
HSLhsl(249, 76%, 67%)
HSVhsv(249, 55%, 92%)
CMYKcmyk(46.8%, 54.9%, 0%, 7.8%)
CIE-LABlab(52.58, 39.46, -63.02)
CIE-LCHlch(52.58, 74.36, 302.05°)
OKLaboklab(60.74% 0.0521 -0.1798)
OKLCHoklch(60.74% 0.187 286.1)
XYZxyz(28.6025, 20.6649, 81.0628)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AEB #D8EB6A
analogous
#6A98EB #7D6AEB #BD6AEB
triadic
#7D6AEB #EB7D6A #6AEB7D
tetradic
#7D6AEB #EB6A98 #D8EB6A #6AEBBD
square
#7D6AEB #EB6A98 #D8EB6A #6AEBBD
split-complementary
#7D6AEB #EBBD6A #98EB6A
monochromatic
#321AC1 #4E34E4 #7D6AEB #ACA0F2 #DBD6F9

Accessibility & contrast

On white

4.09
#7D6AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#7D6AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AEB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AEB#FFFFFF#000000##000000
##7D6AEB1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E81EF
Deuteranopia (green-blind)
#197AE8
Tritanopia (blue-blind)
#5887A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d6aeb;
/* rgb */ color: rgb(125, 106, 235);
/* oklch */ color: oklch(60.7% 0.187 286.1);
Tailwind
colors: {
  custom: {
    50: '#a995f2',
    500: '#7d6aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7d6aeb;
$custom-light: #a995f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6aeb",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 248.837,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.18718,
    "h": 286.1
  },
  "luminance": 0.20666
}

Semantic roles & 50–950 ramp

primary
#7D6AEB
secondary
#E7EDC4
accent
#D90DBB
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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