#7A6EDD#7A6EDD

#7A6EDD is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.3% C 0.163 H 285.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7A6EDD
RGBrgb(122, 110, 221)
HSLhsl(246, 62%, 65%)
HSVhsv(246, 50%, 87%)
CMYKcmyk(44.8%, 50.2%, 0%, 13.3%)
CIE-LABlab(52.41, 32.39, -55.44)
CIE-LCHlch(52.41, 64.21, 300.30°)
OKLaboklab(60.27% 0.0431 -0.1576)
OKLCHoklch(60.27% 0.163 285.3)
XYZxyz(26.6493, 20.5088, 70.9470)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6EDD #D1DD6E
analogous
#6E9ADD #7A6EDD #B16EDD
triadic
#7A6EDD #DD7A6E #6EDD7A
tetradic
#7A6EDD #DD6E9A #D1DD6E #6EDDB1
square
#7A6EDD #DD6E9A #D1DD6E #6EDDB1
split-complementary
#7A6EDD #DDB16E #9ADD6E
monochromatic
#3628A9 #4D3CD1 #7A6EDD #A7A0E9 #D5D1F4

Accessibility & contrast

On white

4.12
#7A6EDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7A6EDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6EDD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6EDD#FFFFFF#000000##000000
##7A6EDD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E1
Deuteranopia (green-blind)
#397ADB
Tritanopia (blue-blind)
#5A869B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a6edd;
/* rgb */ color: rgb(122, 110, 221);
/* oklch */ color: oklch(60.3% 0.163 285.3);
Tailwind
colors: {
  custom: {
    50: '#a697e8',
    500: '#7a6edd',
    950: '#000000',
  },
}
SCSS
$custom: #7a6edd;
$custom-light: #a697e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6edd",
  "rgb": {
    "r": 122,
    "g": 110,
    "b": 221
  },
  "hsl": {
    "h": 246.486,
    "s": 62.011,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60274,
    "c": 0.16339,
    "h": 285.3
  },
  "luminance": 0.2051
}

Semantic roles & 50–950 ramp

primary
#7A6EDD
secondary
#E2E6C0
accent
#CA1CB7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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