#7866FC#7866FC

#7866FC is a mid, highly saturated blue. Relative luminance 0.205; OKLCH L 60.9% C 0.215 H 283.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#7866FC
RGBrgb(120, 102, 252)
HSLhsl(247, 96%, 69%)
HSVhsv(247, 60%, 99%)
CMYKcmyk(52.4%, 59.5%, 0%, 1.2%)
CIE-LABlab(52.42, 45.74, -72.77)
CIE-LCHlch(52.42, 85.96, 302.15°)
OKLaboklab(60.89% 0.0499 -0.2086)
OKLCHoklch(60.89% 0.215 283.4)
XYZxyz(30.0624, 20.5224, 94.4537)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7866FC #EAFC66
analogous
#669FFC #7866FC #C366FC
triadic
#7866FC #FC7866 #66FC78
tetradic
#7866FC #FC669F #EAFC66 #66FCC3
square
#7866FC #FC669F #EAFC66 #66FCC3
split-complementary
#7866FC #FCC366 #9FFC66
monochromatic
#1F04E3 #432AFB #7866FC #ADA2FD #E2DEFE

Accessibility & contrast

On white

4.11
#7866FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#7866FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7866FC
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7866FC#FFFFFF#000000##000000
##7866FC1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#0078F9
Tritanopia (blue-blind)
#408AA7
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7866fc;
/* rgb */ color: rgb(120, 102, 252);
/* oklch */ color: oklch(60.9% 0.215 283.4);
Tailwind
colors: {
  custom: {
    50: '#a992fe',
    500: '#7866fc',
    950: '#000000',
  },
}
SCSS
$custom: #7866fc;
$custom-light: #a992fe;
$custom-dark: #000000;
JSON
{
  "hex": "#7866fc",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 247.2,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.21451,
    "h": 283.4
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7866FC

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

Preview Lab → · Contrast checker → · Palette generator →

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