#7A6FDD#7A6FDD

#7A6FDD is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.162 H 285.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A6FDD
RGBrgb(122, 111, 221)
HSLhsl(246, 62%, 65%)
HSVhsv(246, 50%, 87%)
CMYKcmyk(44.8%, 49.8%, 0%, 13.3%)
CIE-LABlab(52.65, 31.80, -55.06)
CIE-LCHlch(52.65, 63.58, 300.01°)
OKLaboklab(60.45% 0.0419 -0.1564)
OKLCHoklch(60.45% 0.162 285)
XYZxyz(26.7578, 20.7258, 70.9832)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FDD #D2DD6F
analogous
#6F9BDD #7A6FDD #B16FDD
triadic
#7A6FDD #DD7A6F #6FDD7A
tetradic
#7A6FDD #DD6F9B #D2DD6F #6FDDB1
square
#7A6FDD #DD6F9B #D2DD6F #6FDDB1
split-complementary
#7A6FDD #DDB16F #9BDD6F
monochromatic
#3528AA #4C3DD1 #7A6FDD #A8A1E9 #D5D2F4

Accessibility & contrast

On white

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

On black

5.15
#7A6FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FDD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FDD#FFFFFF#000000##000000
##7A6FDD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#3B7ADB
Tritanopia (blue-blind)
#5A869C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6fdd;
/* rgb */ color: rgb(122, 111, 221);
/* oklch */ color: oklch(60.5% 0.162 285.0);
Tailwind
colors: {
  custom: {
    50: '#a698e8',
    500: '#7a6fdd',
    950: '#000000',
  },
}
SCSS
$custom: #7a6fdd;
$custom-light: #a698e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6fdd",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 221
  },
  "hsl": {
    "h": 246,
    "s": 61.798,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60454,
    "c": 0.16197,
    "h": 285
  },
  "luminance": 0.20727
}

Semantic roles & 50–950 ramp

primary
#7A6FDD
secondary
#E3E7C1
accent
#CA1CB8
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7A6FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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