#7D6BF5#7D6BF5

#7D6BF5 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.6% C 0.199 H 284.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7D6BF5
RGBrgb(125, 107, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 56%, 96%)
CMYKcmyk(49%, 56.3%, 0%, 3.9%)
CIE-LABlab(53.46, 41.78, -67.19)
CIE-LCHlch(53.46, 79.12, 301.87°)
OKLaboklab(61.6% 0.0511 -0.192)
OKLCHoklch(61.6% 0.199 284.9)
XYZxyz(30.1917, 21.4664, 88.9211)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BF5 #E3F56B
analogous
#6B9EF5 #7D6BF5 #C26BF5
triadic
#7D6BF5 #F57D6B #6BF57D
tetradic
#7D6BF5 #F56B9E #E3F56B #6BF5C2
square
#7D6BF5 #F56B9E #E3F56B #6BF5C2
split-complementary
#7D6BF5 #F5C26B #9EF56B
monochromatic
#290FD7 #4B32F1 #7D6BF5 #AFA4F9 #E2DEFD

Accessibility & contrast

On white

3.97
#7D6BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7D6BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BF5
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BF5#FFFFFF#000000##000000
##7D6BF51.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#518AA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d6bf5;
/* rgb */ color: rgb(125, 107, 245);
/* oklch */ color: oklch(61.6% 0.199 284.9);
Tailwind
colors: {
  custom: {
    50: '#ab96f9',
    500: '#7d6bf5',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bf5;
$custom-light: #ab96f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bf5",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 247.826,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61595,
    "c": 0.19872,
    "h": 284.9
  },
  "luminance": 0.21468
}

Semantic roles & 50–950 ramp

primary
#7D6BF5
secondary
#EDF2CA
accent
#E402C6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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