#7D6CEE#7D6CEE

#7D6CEE is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.3% C 0.188 H 285.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D6CEE
RGBrgb(125, 108, 238)
HSLhsl(248, 79%, 68%)
HSVhsv(248, 55%, 93%)
CMYKcmyk(47.5%, 54.6%, 0%, 6.7%)
CIE-LABlab(53.23, 39.16, -63.66)
CIE-LCHlch(53.23, 74.74, 301.60°)
OKLaboklab(61.28% 0.0499 -0.1816)
OKLCHoklch(61.28% 0.188 285.4)
XYZxyz(29.2481, 21.2568, 83.4342)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6CEE #DDEE6C
analogous
#6C9CEE #7D6CEE #BE6CEE
triadic
#7D6CEE #EE7D6C #6CEE7D
tetradic
#7D6CEE #EE6C9C #DDEE6C #6CEEBE
square
#7D6CEE #EE6C9C #DDEE6C #6CEEBE
split-complementary
#7D6CEE #EEBE6C #9CEE6C
monochromatic
#2E17C8 #4C35E8 #7D6CEE #AEA3F4 #DEDAFB

Accessibility & contrast

On white

4.00
#7D6CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7D6CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6CEE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6CEE#FFFFFF#000000##000000
##7D6CEE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F2
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#5689A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6cee;
/* rgb */ color: rgb(125, 108, 238);
/* oklch */ color: oklch(61.3% 0.188 285.4);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7d6cee',
    950: '#000000',
  },
}
SCSS
$custom: #7d6cee;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6cee",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 238
  },
  "hsl": {
    "h": 247.846,
    "s": 79.268,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61283,
    "c": 0.18838,
    "h": 285.4
  },
  "luminance": 0.21258
}

Semantic roles & 50–950 ramp

primary
#7D6CEE
secondary
#EAEFC7
accent
#DC0AC0
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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