#7866F6#7866F6

#7866F6 is a mid, highly saturated blue. Relative luminance 0.202; OKLCH L 60.4% C 0.207 H 284.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#7866F6
RGBrgb(120, 102, 246)
HSLhsl(248, 89%, 68%)
HSVhsv(248, 59%, 96%)
CMYKcmyk(51.2%, 58.5%, 0%, 3.5%)
CIE-LABlab(52.00, 43.97, -70.12)
CIE-LCHlch(52.00, 82.77, 302.09°)
OKLaboklab(60.45% 0.0501 -0.2008)
OKLCHoklch(60.45% 0.207 284)
XYZxyz(29.1266, 20.1481, 89.5251)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7866F6 #E4F666
analogous
#669CF6 #7866F6 #C066F6
triadic
#7866F6 #F67866 #66F678
tetradic
#7866F6 #F6669C #E4F666 #66F6C0
square
#7866F6 #F6669C #E4F666 #66F6C0
split-complementary
#7866F6 #F6C066 #9CF666
monochromatic
#260DD5 #452CF3 #7866F6 #ABA0F9 #DEDAFD

Accessibility & contrast

On white

4.17
#7866F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#7866F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7866F6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7866F6#FFFFFF#000000##000000
##7866F61.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#4688A4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7866f6;
/* rgb */ color: rgb(120, 102, 246);
/* oklch */ color: oklch(60.4% 0.207 284.0);
Tailwind
colors: {
  custom: {
    50: '#a892fa',
    500: '#7866f6',
    950: '#000000',
  },
}
SCSS
$custom: #7866f6;
$custom-light: #a892fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7866f6",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 247.5,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.60446,
    "c": 0.20697,
    "h": 284
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#7866F6
secondary
#ECF2C6
accent
#E600C9
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7866F6

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

Preview Lab → · Contrast checker → · Palette generator →

#7866F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva