#7A6BE7#7A6BE7

#7A6BE7 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.4% C 0.181 H 285.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7A6BE7
RGBrgb(122, 107, 231)
HSLhsl(247, 72%, 66%)
HSVhsv(247, 54%, 91%)
CMYKcmyk(47.2%, 53.7%, 0%, 9.4%)
CIE-LABlab(52.31, 37.07, -61.23)
CIE-LCHlch(52.31, 71.58, 301.19°)
OKLaboklab(60.4% 0.0472 -0.1746)
OKLCHoklch(60.4% 0.181 285.1)
XYZxyz(27.7033, 20.4212, 78.0678)
Luminance0.2042 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BE7 #D8E76B
analogous
#6B9AE7 #7A6BE7 #B86BE7
triadic
#7A6BE7 #E77A6B #6BE77A
tetradic
#7A6BE7 #E76B9A #D8E76B #6BE7B8
square
#7A6BE7 #E76B9A #D8E76B #6BE7B8
split-complementary
#7A6BE7 #E7B86B #9AE76B
monochromatic
#311EBA #4B36DE #7A6BE7 #A9A0F0 #D9D4F8

Accessibility & contrast

On white

4.13
#7A6BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#7A6BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BE7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BE7#FFFFFF#000000##000000
##7A6BE71.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#2279E4
Tritanopia (blue-blind)
#55869F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7a6be7;
/* rgb */ color: rgb(122, 107, 231);
/* oklch */ color: oklch(60.4% 0.181 285.1);
Tailwind
colors: {
  custom: {
    50: '#a795ef',
    500: '#7a6be7',
    950: '#000000',
  },
}
SCSS
$custom: #7a6be7;
$custom-light: #a795ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6be7",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 247.258,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60398,
    "c": 0.18086,
    "h": 285.1
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#7A6BE7
secondary
#E6EBC3
accent
#D411BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7A6BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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