#7A6BF7#7A6BF7

#7A6BF7 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.5% C 0.202 H 283.6°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7A6BF7
RGBrgb(122, 107, 247)
HSLhsl(246, 90%, 69%)
HSVhsv(246, 57%, 97%)
CMYKcmyk(50.6%, 56.7%, 0%, 3.1%)
CIE-LABlab(53.35, 41.77, -68.49)
CIE-LCHlch(53.35, 80.22, 301.38°)
OKLaboklab(61.5% 0.0474 -0.196)
OKLCHoklch(61.5% 0.202 283.6)
XYZxyz(30.0672, 21.3668, 90.5175)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6BF7 #E8F76B
analogous
#6BA2F7 #7A6BF7 #C06BF7
triadic
#7A6BF7 #F77A6B #6BF77A
tetradic
#7A6BF7 #F76BA2 #E8F76B #6BF7C0
square
#7A6BF7 #F76BA2 #E8F76B #6BF7C0
split-complementary
#7A6BF7 #F7C06B #A2F76B
monochromatic
#220CDC #4631F4 #7A6BF7 #AEA5FA #E2DFFD

Accessibility & contrast

On white

3.98
#7A6BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#7A6BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6BF7
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6BF7#FFFFFF#000000##000000
##7A6BF71.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#498BA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6bf7;
/* rgb */ color: rgb(122, 107, 247);
/* oklch */ color: oklch(61.5% 0.202 283.6);
Tailwind
colors: {
  custom: {
    50: '#a996fb',
    500: '#7a6bf7',
    950: '#000000',
  },
}
SCSS
$custom: #7a6bf7;
$custom-light: #a996fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6bf7",
  "rgb": {
    "r": 122,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 246.429,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61498,
    "c": 0.2016,
    "h": 283.6
  },
  "luminance": 0.21368
}

Semantic roles & 50–950 ramp

primary
#7A6BF7
secondary
#EFF3CB
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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