#7A6DED#7A6DED

#7A6DED is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.1% C 0.186 H 284.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#7A6DED
RGBrgb(122, 109, 237)
HSLhsl(246, 78%, 68%)
HSVhsv(246, 54%, 93%)
CMYKcmyk(48.5%, 54%, 0%, 7.1%)
CIE-LABlab(53.15, 37.66, -63.23)
CIE-LCHlch(53.15, 73.60, 300.78°)
OKLaboklab(61.15% 0.0452 -0.1805)
OKLCHoklch(61.15% 0.186 284)
XYZxyz(28.7762, 21.1878, 82.6777)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6DED #E0ED6D
analogous
#6DA0ED #7A6DED #BA6DED
triadic
#7A6DED #ED7A6D #6DED7A
tetradic
#7A6DED #ED6DA0 #E0ED6D #6DEDBA
square
#7A6DED #ED6DA0 #E0ED6D #6DEDBA
split-complementary
#7A6DED #EDBA6D #A0ED6D
monochromatic
#2A19C7 #4837E6 #7A6DED #ACA3F4 #DDDAFA

Accessibility & contrast

On white

4.01
#7A6DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#7A6DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6DED
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6DED#FFFFFF#000000##000000
##7A6DED1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2383F1
Deuteranopia (green-blind)
#1A7BEA
Tritanopia (blue-blind)
#5089A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6ded;
/* rgb */ color: rgb(122, 109, 237);
/* oklch */ color: oklch(61.1% 0.186 284.0);
Tailwind
colors: {
  custom: {
    50: '#a897f4',
    500: '#7a6ded',
    950: '#000000',
  },
}
SCSS
$custom: #7a6ded;
$custom-light: #a897f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6ded",
  "rgb": {
    "r": 122,
    "g": 109,
    "b": 237
  },
  "hsl": {
    "h": 246.094,
    "s": 78.049,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61147,
    "c": 0.18603,
    "h": 284
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#7A6DED
secondary
#EBEFC7
accent
#DA0BC5
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6DED

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

Preview Lab → · Contrast checker → · Palette generator →

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