#7866FD#7866FD

#7866FD is a mid, highly saturated blue. Relative luminance 0.206; OKLCH L 61.0% C 0.216 H 283.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7866FD
RGBrgb(120, 102, 253)
HSLhsl(247, 97%, 70%)
HSVhsv(247, 60%, 99%)
CMYKcmyk(52.6%, 59.7%, 0%, 0.8%)
CIE-LABlab(52.49, 46.04, -73.21)
CIE-LCHlch(52.49, 86.48, 302.16°)
OKLaboklab(60.96% 0.0498 -0.2099)
OKLCHoklch(60.96% 0.216 283.4)
XYZxyz(30.2213, 20.5859, 95.2905)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7866FD #EBFD66
analogous
#66A0FD #7866FD #C366FD
triadic
#7866FD #FD7866 #66FD78
tetradic
#7866FD #FD66A0 #EBFD66 #66FDC3
square
#7866FD #FD66A0 #EBFD66 #66FDC3
split-complementary
#7866FD #FDC366 #A0FD66
monochromatic
#1E03E6 #432AFC #7866FD #ADA2FE #E3DFFF

Accessibility & contrast

On white

4.10
#7866FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#7866FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7866FD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7866FD#FFFFFF#000000##000000
##7866FD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078FA
Tritanopia (blue-blind)
#3F8AA8
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7866fd;
/* rgb */ color: rgb(120, 102, 253);
/* oklch */ color: oklch(61.0% 0.216 283.4);
Tailwind
colors: {
  custom: {
    50: '#a992ff',
    500: '#7866fd',
    950: '#000000',
  },
}
SCSS
$custom: #7866fd;
$custom-light: #a992ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7866fd",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 253
  },
  "hsl": {
    "h": 247.152,
    "s": 97.419,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6096,
    "c": 0.21576,
    "h": 283.4
  },
  "luminance": 0.20588
}

Semantic roles & 50–950 ramp

primary
#7866FD
secondary
#F0F5CA
accent
#E600CA
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7866FD

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

Preview Lab → · Contrast checker → · Palette generator →

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