#7D6BF2#7D6BF2

#7D6BF2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.4% C 0.195 H 285.2°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7D6BF2
RGBrgb(125, 107, 242)
HSLhsl(248, 84%, 68%)
HSVhsv(248, 56%, 95%)
CMYKcmyk(48.3%, 55.8%, 0%, 5.1%)
CIE-LABlab(53.26, 40.90, -65.84)
CIE-LCHlch(53.26, 77.51, 301.85°)
OKLaboklab(61.39% 0.051 -0.1881)
OKLCHoklch(61.39% 0.195 285.2)
XYZxyz(29.7374, 21.2847, 86.5286)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6BF2 #E0F26B
analogous
#6B9CF2 #7D6BF2 #C06BF2
triadic
#7D6BF2 #F27D6B #6BF27D
tetradic
#7D6BF2 #F26B9C #E0F26B #6BF2C0
square
#7D6BF2 #F26B9C #E0F26B #6BF2C0
split-complementary
#7D6BF2 #F2C06B #9CF26B
monochromatic
#2C12D0 #4C33ED #7D6BF2 #AEA3F7 #E0DCFC

Accessibility & contrast

On white

3.99
#7D6BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7D6BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6BF2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6BF2#FFFFFF#000000##000000
##7D6BF21.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D83F7
Deuteranopia (green-blind)
#007BEF
Tritanopia (blue-blind)
#5389A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6bf2;
/* rgb */ color: rgb(125, 107, 242);
/* oklch */ color: oklch(61.4% 0.195 285.2);
Tailwind
colors: {
  custom: {
    50: '#aa96f7',
    500: '#7d6bf2',
    950: '#000000',
  },
}
SCSS
$custom: #7d6bf2;
$custom-light: #aa96f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6bf2",
  "rgb": {
    "r": 125,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 248,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61387,
    "c": 0.19487,
    "h": 285.2
  },
  "luminance": 0.21286
}

Semantic roles & 50–950 ramp

primary
#7D6BF2
secondary
#EBF1C8
accent
#E005C3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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