#7D6AEC#7D6AEC

#7D6AEC is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.8% C 0.188 H 286.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7D6AEC
RGBrgb(125, 106, 236)
HSLhsl(249, 77%, 67%)
HSVhsv(249, 55%, 93%)
CMYKcmyk(47%, 55.1%, 0%, 7.5%)
CIE-LABlab(52.64, 39.74, -63.48)
CIE-LCHlch(52.64, 74.90, 302.05°)
OKLaboklab(60.81% 0.0521 -0.1811)
OKLCHoklch(60.81% 0.188 286)
XYZxyz(28.7474, 20.7229, 81.8258)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AEC #D9EC6A
analogous
#6A98EC #7D6AEC #BE6AEC
triadic
#7D6AEC #EC7D6A #6AEC7D
tetradic
#7D6AEC #EC6A98 #D9EC6A #6AECBE
square
#7D6AEC #EC6A98 #D9EC6A #6AECBE
split-complementary
#7D6AEC #ECBE6A #98EC6A
monochromatic
#3219C3 #4E34E5 #7D6AEC #ACA0F3 #DCD7FA

Accessibility & contrast

On white

4.08
#7D6AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#7D6AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AEC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AEC#FFFFFF#000000##000000
##7D6AEC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B81F0
Deuteranopia (green-blind)
#167AE9
Tritanopia (blue-blind)
#5887A1
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7d6aec;
/* rgb */ color: rgb(125, 106, 236);
/* oklch */ color: oklch(60.8% 0.188 286.0);
Tailwind
colors: {
  custom: {
    50: '#aa95f3',
    500: '#7d6aec',
    950: '#000000',
  },
}
SCSS
$custom: #7d6aec;
$custom-light: #aa95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6aec",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 248.769,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.60808,
    "c": 0.18848,
    "h": 286
  },
  "luminance": 0.20724
}

Semantic roles & 50–950 ramp

primary
#7D6AEC
secondary
#E8EEC4
accent
#DA0CBC
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7D6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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