#7D6AF5#7D6AF5

#7D6AF5 is a mid, highly saturated blue. Relative luminance 0.213; OKLCH L 61.4% C 0.200 H 285.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7D6AF5
RGBrgb(125, 106, 245)
HSLhsl(248, 87%, 69%)
HSVhsv(248, 57%, 96%)
CMYKcmyk(49%, 56.7%, 0%, 3.9%)
CIE-LABlab(53.23, 42.35, -67.55)
CIE-LCHlch(53.23, 79.73, 302.08°)
OKLaboklab(61.43% 0.0521 -0.1931)
OKLCHoklch(61.43% 0.2 285.1)
XYZxyz(30.0880, 21.2591, 88.8865)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AF5 #E2F56A
analogous
#6A9DF5 #7D6AF5 #C26AF5
triadic
#7D6AF5 #F57D6A #6AF57D
tetradic
#7D6AF5 #F56A9D #E2F56A #6AF5C2
square
#7D6AF5 #F56A9D #E2F56A #6AF5C2
split-complementary
#7D6AF5 #F5C26A #9DF56A
monochromatic
#2A0ED6 #4B31F1 #7D6AF5 #AFA3F9 #E1DDFD

Accessibility & contrast

On white

4.00
#7D6AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#7D6AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AF5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AF5#FFFFFF#000000##000000
##7D6AF51.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#518AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7d6af5;
/* rgb */ color: rgb(125, 106, 245);
/* oklch */ color: oklch(61.4% 0.200 285.1);
Tailwind
colors: {
  custom: {
    50: '#ab95f9',
    500: '#7d6af5',
    950: '#000000',
  },
}
SCSS
$custom: #7d6af5;
$custom-light: #ab95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6af5",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 248.201,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.20003,
    "h": 285.1
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#7D6AF5
secondary
#ECF2C9
accent
#E402C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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