#7D6AFD#7D6AFD

#7D6AFD is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 62.0% C 0.210 H 284.3°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7D6AFD
RGBrgb(125, 106, 253)
HSLhsl(248, 97%, 70%)
HSVhsv(248, 58%, 99%)
CMYKcmyk(50.6%, 58.1%, 0%, 0.8%)
CIE-LABlab(53.77, 44.68, -71.12)
CIE-LCHlch(53.77, 84.00, 302.14°)
OKLaboklab(62% 0.052 -0.2036)
OKLCHoklch(62% 0.21 284.3)
XYZxyz(31.3358, 21.7582, 95.4581)
Luminance0.2176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AFD #EAFD6A
analogous
#6AA0FD #7D6AFD #C66AFD
triadic
#7D6AFD #FD7D6A #6AFD7D
tetradic
#7D6AFD #FD6AA0 #EAFD6A #6AFDC6
square
#7D6AFD #FD6AA0 #EAFD6A #6AFDC6
split-complementary
#7D6AFD #FDC66A #A0FD6A
monochromatic
#2103E9 #482EFC #7D6AFD #B2A6FE #E5E1FF

Accessibility & contrast

On white

3.92
#7D6AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#7D6AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AFD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AFD#FFFFFF#000000##000000
##7D6AFD1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CFA
Tritanopia (blue-blind)
#4B8CA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7d6afd;
/* rgb */ color: rgb(125, 106, 253);
/* oklch */ color: oklch(62.0% 0.210 284.3);
Tailwind
colors: {
  custom: {
    50: '#ac95ff',
    500: '#7d6afd',
    950: '#000000',
  },
}
SCSS
$custom: #7d6afd;
$custom-light: #ac95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6afd",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 253
  },
  "hsl": {
    "h": 247.755,
    "s": 97.351,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.21016,
    "h": 284.3
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#7D6AFD
secondary
#F0F6CD
accent
#E600C8
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7D6AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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