#7D6DEC#7D6DEC

#7D6DEC is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.184 H 285.3°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7D6DEC
RGBrgb(125, 109, 236)
HSLhsl(248, 77%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(47%, 53.8%, 0%, 7.5%)
CIE-LABlab(53.33, 38.00, -62.37)
CIE-LCHlch(53.33, 73.04, 301.35°)
OKLaboklab(61.32% 0.0487 -0.1779)
OKLCHoklch(61.32% 0.184 285.3)
XYZxyz(29.0620, 21.3520, 81.9307)
Luminance0.2135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6DEC #DCEC6D
analogous
#6D9CEC #7D6DEC #BC6DEC
triadic
#7D6DEC #EC7D6D #6DEC7D
tetradic
#7D6DEC #EC6D9C #DCEC6D #6DECBC
square
#7D6DEC #EC6D9C #DCEC6D #6DECBC
split-complementary
#7D6DEC #ECBC6D #9CEC6D
monochromatic
#2F1AC5 #4D37E5 #7D6DEC #ADA3F3 #DDD9FA

Accessibility & contrast

On white

3.98
#7D6DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D6DEC#FFFFFF#000000##000000
##7D6DEC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F0
Deuteranopia (green-blind)
#227CE9
Tritanopia (blue-blind)
#5789A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6dec;
/* rgb */ color: rgb(125, 109, 236);
/* oklch */ color: oklch(61.3% 0.184 285.3);
Tailwind
colors: {
  custom: {
    50: '#a997f3',
    500: '#7d6dec',
    950: '#000000',
  },
}
SCSS
$custom: #7d6dec;
$custom-light: #a997f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6dec",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 247.559,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61319,
    "c": 0.18442,
    "h": 285.3
  },
  "luminance": 0.21353
}

Semantic roles & 50–950 ramp

primary
#7D6DEC
secondary
#E9EEC7
accent
#D90CBF
background
#FAF9FE
surface
#F5F2FD
border
#CFCCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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