#7D6CED#7D6CED

#7D6CED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.2% C 0.187 H 285.5°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7D6CED
RGBrgb(125, 108, 237)
HSLhsl(248, 78%, 68%)
HSVhsv(248, 54%, 93%)
CMYKcmyk(47.3%, 54.4%, 0%, 7.1%)
CIE-LABlab(53.17, 38.87, -63.20)
CIE-LCHlch(53.17, 74.20, 301.59°)
OKLaboklab(61.22% 0.0499 -0.1803)
OKLCHoklch(61.22% 0.187 285.5)
XYZxyz(29.1016, 21.1982, 82.6626)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6CED #DCED6C
analogous
#6C9BED #7D6CED #BD6CED
triadic
#7D6CED #ED7D6C #6CED7D
tetradic
#7D6CED #ED6C9B #DCED6C #6CEDBD
square
#7D6CED #ED6C9B #DCED6C #6CEDBD
split-complementary
#7D6CED #EDBD6C #9BED6C
monochromatic
#2F18C6 #4D35E6 #7D6CED #ADA3F4 #DDD9FA

Accessibility & contrast

On white

4.01
#7D6CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7D6CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6CED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6CED#FFFFFF#000000##000000
##7D6CED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2183F1
Deuteranopia (green-blind)
#1C7BEA
Tritanopia (blue-blind)
#5789A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6ced;
/* rgb */ color: rgb(125, 108, 237);
/* oklch */ color: oklch(61.2% 0.187 285.5);
Tailwind
colors: {
  custom: {
    50: '#aa96f4',
    500: '#7d6ced',
    950: '#000000',
  },
}
SCSS
$custom: #7d6ced;
$custom-light: #aa96f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6ced",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 237
  },
  "hsl": {
    "h": 247.907,
    "s": 78.182,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.18708,
    "h": 285.5
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#7D6CED
secondary
#E9EEC6
accent
#DA0BBF
background
#FAF9FF
surface
#F5F2FE
border
#CFCCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6CED

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

Preview Lab → · Contrast checker → · Palette generator →

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