#7D6CDB#7D6CDB

#7D6CDB is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.0% C 0.163 H 287.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7D6CDB
RGBrgb(125, 108, 219)
HSLhsl(249, 61%, 64%)
HSVhsv(249, 51%, 86%)
CMYKcmyk(42.9%, 50.7%, 0%, 14.1%)
CIE-LABlab(52.06, 33.70, -54.86)
CIE-LCHlch(52.06, 64.38, 301.56°)
OKLaboklab(60.04% 0.049 -0.1558)
OKLCHoklch(60.04% 0.163 287.5)
XYZxyz(26.6026, 20.1986, 69.5011)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6CDB #CADB6C
analogous
#6C93DB #7D6CDB #B56CDB
triadic
#7D6CDB #DB7D6C #6CDB7D
tetradic
#7D6CDB #DB6C93 #CADB6C #6CDBB5
square
#7D6CDB #DB6C93 #CADB6C #6CDBB5
split-complementary
#7D6CDB #DBB56C #93DB6C
monochromatic
#3B28A4 #523BCF #7D6CDB #A89DE7 #D4CEF3

Accessibility & contrast

On white

4.17
#7D6CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#7D6CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6CDB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6CDB#FFFFFF#000000##000000
##7D6CDB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#3A79D9
Tritanopia (blue-blind)
#618399
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7d6cdb;
/* rgb */ color: rgb(125, 108, 219);
/* oklch */ color: oklch(60.0% 0.163 287.5);
Tailwind
colors: {
  custom: {
    50: '#a896e7',
    500: '#7d6cdb',
    950: '#000000',
  },
}
SCSS
$custom: #7d6cdb;
$custom-light: #a896e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6cdb",
  "rgb": {
    "r": 125,
    "g": 108,
    "b": 219
  },
  "hsl": {
    "h": 249.189,
    "s": 60.656,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60038,
    "c": 0.16331,
    "h": 287.5
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#7D6CDB
secondary
#DFE5BE
accent
#C81DAE
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7D6CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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