#7A6BF8#7A6BF8

#7A6BF8 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.203 H 283.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7A6BF8
RGBrgb(122, 107, 248)
HSLhsl(246, 91%, 70%)
HSVhsv(246, 57%, 97%)
CMYKcmyk(50.8%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.42, 42.07, -68.94)
CIE-LCHlch(53.42, 80.76, 301.39°)
OKLaboklab(61.57% 0.0474 -0.1973)
OKLCHoklch(61.57% 0.203 283.5)
XYZxyz(30.2219, 21.4286, 91.3324)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BF8 #E9F86B
analogous
#6BA3F8 #7A6BF8 #C16BF8
triadic
#7A6BF8 #F87A6B #6BF87A
tetradic
#7A6BF8 #F86BA3 #E9F86B #6BF8C1
square
#7A6BF8 #F86BA3 #E9F86B #6BF8C1
split-complementary
#7A6BF8 #F8C16B #A3F86B
monochromatic
#210BDE #4531F5 #7A6BF8 #AFA5FB #E3E0FE

Accessibility & contrast

On white

3.97
#7A6BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#7A6BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BF8
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BF8#FFFFFF#000000##000000
##7A6BF81.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#488BA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a6bf8;
/* rgb */ color: rgb(122, 107, 248);
/* oklch */ color: oklch(61.6% 0.203 283.5);
Tailwind
colors: {
  custom: {
    50: '#a996fb',
    500: '#7a6bf8',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bf8;
$custom-light: #a996fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bf8",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 246.383,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61569,
    "c": 0.20288,
    "h": 283.5
  },
  "luminance": 0.2143
}

Semantic roles & 50–950 ramp

primary
#7A6BF8
secondary
#EFF4CB
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7A6BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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