#7A6AF7#7A6AF7

#7A6AF7 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.3% C 0.203 H 283.8°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7A6AF7
RGBrgb(122, 106, 247)
HSLhsl(247, 90%, 69%)
HSVhsv(247, 57%, 97%)
CMYKcmyk(50.6%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.12, 42.35, -68.85)
CIE-LCHlch(53.12, 80.83, 301.59°)
OKLaboklab(61.33% 0.0484 -0.197)
OKLCHoklch(61.33% 0.203 283.8)
XYZxyz(29.9635, 21.1594, 90.4830)
Luminance0.2116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6AF7 #E7F76A
analogous
#6AA0F7 #7A6AF7 #C16AF7
triadic
#7A6AF7 #F77A6A #6AF77A
tetradic
#7A6AF7 #F76AA0 #E7F76A #6AF7C1
square
#7A6AF7 #F76AA0 #E7F76A #6AF7C1
split-complementary
#7A6AF7 #F7C16A #A0F76A
monochromatic
#230CDB #4630F4 #7A6AF7 #AEA4FA #E2DEFD

Accessibility & contrast

On white

4.01
#7A6AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#7A6AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A6AF7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6AF7#FFFFFF#000000##000000
##7A6AF71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#498BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a6af7;
/* rgb */ color: rgb(122, 106, 247);
/* oklch */ color: oklch(61.3% 0.203 283.8);
Tailwind
colors: {
  custom: {
    50: '#a995fb',
    500: '#7a6af7',
    950: '#000000',
  },
}
SCSS
$custom: #7a6af7;
$custom-light: #a995fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6af7",
  "rgb": {
    "r": 122,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 246.809,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.2029,
    "h": 283.8
  },
  "luminance": 0.21161
}

Semantic roles & 50–950 ramp

primary
#7A6AF7
secondary
#EEF3CA
accent
#E600CB
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7A6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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