#7A6FEE#7A6FEE

#7A6FEE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.6% C 0.185 H 283.5°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#7A6FEE
RGBrgb(122, 111, 238)
HSLhsl(245, 79%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.7%, 53.4%, 0%, 6.7%)
CIE-LABlab(53.68, 36.78, -62.94)
CIE-LCHlch(53.68, 72.90, 300.30°)
OKLaboklab(61.56% 0.043 -0.1796)
OKLCHoklch(61.56% 0.185 283.5)
XYZxyz(29.1385, 21.6780, 83.5213)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FEE #E3EE6F
analogous
#6FA3EE #7A6FEE #B96FEE
triadic
#7A6FEE #EE7A6F #6FEE7A
tetradic
#7A6FEE #EE6FA3 #E3EE6F #6FEEB9
square
#7A6FEE #EE6FA3 #E3EE6F #6FEEB9
split-complementary
#7A6FEE #EEB96F #A3EE6F
monochromatic
#2718CB #4738E8 #7A6FEE #ADA6F4 #DFDCFB

Accessibility & contrast

On white

3.94
#7A6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#7A6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FEE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FEE#FFFFFF#000000##000000
##7A6FEE1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2984F2
Deuteranopia (green-blind)
#1F7CEB
Tritanopia (blue-blind)
#508BA4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6fee;
/* rgb */ color: rgb(122, 111, 238);
/* oklch */ color: oklch(61.6% 0.185 283.5);
Tailwind
colors: {
  custom: {
    50: '#a898f4',
    500: '#7a6fee',
    950: '#000000',
  },
}
SCSS
$custom: #7a6fee;
$custom-light: #a898f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6fee",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 245.197,
    "s": 78.882,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61561,
    "c": 0.18467,
    "h": 283.5
  },
  "luminance": 0.2168
}

Semantic roles & 50–950 ramp

primary
#7A6FEE
secondary
#ECF0C9
accent
#DB0AC9
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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