#7D6DF6#7D6DF6

#7D6DF6 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.197 H 284.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#7D6DF6
RGBrgb(125, 109, 246)
HSLhsl(247, 88%, 70%)
HSVhsv(247, 56%, 96%)
CMYKcmyk(49.2%, 55.7%, 0%, 3.5%)
CIE-LABlab(53.97, 40.91, -66.91)
CIE-LCHlch(53.97, 78.43, 301.44°)
OKLaboklab(62% 0.0489 -0.1912)
OKLCHoklch(62% 0.197 284.4)
XYZxyz(30.5557, 21.9495, 89.7976)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6DF6 #E6F66D
analogous
#6DA2F6 #7D6DF6 #C16DF6
triadic
#7D6DF6 #F67D6D #6DF67D
tetradic
#7D6DF6 #F66DA2 #E6F66D #6DF6C1
square
#7D6DF6 #F66DA2 #E6F66D #6DF6C1
split-complementary
#7D6DF6 #F6C16D #A2F66D
monochromatic
#260EDB #4A33F2 #7D6DF6 #B0A7FA #E4E0FD

Accessibility & contrast

On white

3.90
#7D6DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#7D6DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6DF6
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6DF6#FFFFFF#000000##000000
##7D6DF61.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B85FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#508CA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7d6df6;
/* rgb */ color: rgb(125, 109, 246);
/* oklch */ color: oklch(62.0% 0.197 284.4);
Tailwind
colors: {
  custom: {
    50: '#ab97fa',
    500: '#7d6df6',
    950: '#000000',
  },
}
SCSS
$custom: #7d6df6;
$custom-light: #ab97fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6df6",
  "rgb": {
    "r": 125,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 247.007,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61999,
    "c": 0.19738,
    "h": 284.4
  },
  "luminance": 0.21951
}

Semantic roles & 50–950 ramp

primary
#7D6DF6
secondary
#EEF3CC
accent
#E501CA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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