#7A6BEE#7A6BEE

#7A6BEE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.9% C 0.190 H 284.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7A6BEE
RGBrgb(122, 107, 238)
HSLhsl(247, 79%, 68%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(48.7%, 55%, 0%, 6.7%)
CIE-LABlab(52.76, 39.12, -64.43)
CIE-LCHlch(52.76, 75.38, 301.27°)
OKLaboklab(60.87% 0.0474 -0.184)
OKLCHoklch(60.87% 0.19 284.4)
XYZxyz(28.7118, 20.8246, 83.3790)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BEE #DFEE6B
analogous
#6B9EEE #7A6BEE #BB6BEE
triadic
#7A6BEE #EE7A6B #6BEE7A
tetradic
#7A6BEE #EE6B9E #DFEE6B #6BEEBB
square
#7A6BEE #EE6B9E #DFEE6B #6BEEBB
split-complementary
#7A6BEE #EEBB6B #9EEE6B
monochromatic
#2B17C8 #4934E8 #7A6BEE #ABA2F4 #DDD9FB

Accessibility & contrast

On white

4.07
#7A6BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#7A6BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BEE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BEE#FFFFFF#000000##000000
##7A6BEE1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1882F2
Deuteranopia (green-blind)
#0A7AEB
Tritanopia (blue-blind)
#5088A2
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a6bee;
/* rgb */ color: rgb(122, 107, 238);
/* oklch */ color: oklch(60.9% 0.190 284.4);
Tailwind
colors: {
  custom: {
    50: '#a896f4',
    500: '#7a6bee',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bee;
$custom-light: #a896f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bee",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 238
  },
  "hsl": {
    "h": 246.87,
    "s": 79.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.60872,
    "c": 0.19,
    "h": 284.4
  },
  "luminance": 0.20826
}

Semantic roles & 50–950 ramp

primary
#7A6BEE
secondary
#EAEFC6
accent
#DC0AC4
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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