#7D6AEA#7D6AEA

#7D6AEA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.7% C 0.186 H 286.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7D6AEA
RGBrgb(125, 106, 234)
HSLhsl(249, 75%, 67%)
HSVhsv(249, 55%, 92%)
CMYKcmyk(46.6%, 54.7%, 0%, 8.2%)
CIE-LABlab(52.52, 39.17, -62.57)
CIE-LCHlch(52.52, 73.81, 302.05°)
OKLaboklab(60.67% 0.052 -0.1784)
OKLCHoklch(60.67% 0.186 286.3)
XYZxyz(28.4584, 20.6073, 80.3041)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D6AEA #D7EA6A
analogous
#6A97EA #7D6AEA #BD6AEA
triadic
#7D6AEA #EA7D6A #6AEA7D
tetradic
#7D6AEA #EA6A97 #D7EA6A #6AEABD
square
#7D6AEA #EA6A97 #D7EA6A #6AEABD
split-complementary
#7D6AEA #EABD6A #97EA6A
monochromatic
#331BBF #4E34E2 #7D6AEA #ACA0F2 #DBD5F9

Accessibility & contrast

On white

4.10
#7D6AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7D6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D6AEA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D6AEA#FFFFFF#000000##000000
##7D6AEA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2081EE
Deuteranopia (green-blind)
#1C7AE7
Tritanopia (blue-blind)
#5986A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7d6aea;
/* rgb */ color: rgb(125, 106, 234);
/* oklch */ color: oklch(60.7% 0.186 286.3);
Tailwind
colors: {
  custom: {
    50: '#a995f1',
    500: '#7d6aea',
    950: '#000000',
  },
}
SCSS
$custom: #7d6aea;
$custom-light: #a995f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d6aea",
  "rgb": {
    "r": 125,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 248.906,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60673,
    "c": 0.18588,
    "h": 286.3
  },
  "luminance": 0.20609
}

Semantic roles & 50–950 ramp

primary
#7D6AEA
secondary
#E6EDC3
accent
#D70EBA
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7D6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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