#7A6FED#7A6FED

#7A6FED is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.5% C 0.183 H 283.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A6FED
RGBrgb(122, 111, 237)
HSLhsl(245, 78%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.5%, 53.2%, 0%, 7.1%)
CIE-LABlab(53.62, 36.49, -62.48)
CIE-LCHlch(53.62, 72.35, 300.28°)
OKLaboklab(61.49% 0.043 -0.1782)
OKLCHoklch(61.49% 0.183 283.5)
XYZxyz(28.9920, 21.6194, 82.7497)
Luminance0.2162 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6FED #E2ED6F
analogous
#6FA3ED #7A6FED #B96FED
triadic
#7A6FED #ED7A6F #6FED7A
tetradic
#7A6FED #ED6FA3 #E2ED6F #6FEDB9
square
#7A6FED #ED6FA3 #E2ED6F #6FEDB9
split-complementary
#7A6FED #EDB96F #A3ED6F
monochromatic
#2819C9 #4839E6 #7A6FED #ACA5F4 #DEDCFB

Accessibility & contrast

On white

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

On black

5.32
#7A6FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6FED
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6FED#FFFFFF#000000##000000
##7A6FED1.003.945.325.32
#FFFFFF3.941.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F1
Deuteranopia (green-blind)
#217CEA
Tritanopia (blue-blind)
#508BA3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6fed;
/* rgb */ color: rgb(122, 111, 237);
/* oklch */ color: oklch(61.5% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#a898f4',
    500: '#7a6fed',
    950: '#000000',
  },
}
SCSS
$custom: #7a6fed;
$custom-light: #a898f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6fed",
  "rgb": {
    "r": 122,
    "g": 111,
    "b": 237
  },
  "hsl": {
    "h": 245.238,
    "s": 77.778,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61494,
    "c": 0.18335,
    "h": 283.5
  },
  "luminance": 0.21621
}

Semantic roles & 50–950 ramp

primary
#7A6FED
secondary
#ECEFC9
accent
#DA0BC8
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6FED

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

Preview Lab → · Contrast checker → · Palette generator →

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