#7866F9#7866F9

#7866F9 is a mid, highly saturated blue. Relative luminance 0.203; OKLCH L 60.7% C 0.211 H 283.7°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7866F9
RGBrgb(120, 102, 249)
HSLhsl(247, 92%, 69%)
HSVhsv(247, 59%, 98%)
CMYKcmyk(51.8%, 59%, 0%, 2.4%)
CIE-LABlab(52.21, 44.86, -71.45)
CIE-LCHlch(52.21, 84.36, 302.12°)
OKLaboklab(60.67% 0.05 -0.2047)
OKLCHoklch(60.67% 0.211 283.7)
XYZxyz(29.5908, 20.3337, 91.9697)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7866F9 #E7F966
analogous
#669EF9 #7866F9 #C266F9
triadic
#7866F9 #F97866 #66F978
tetradic
#7866F9 #F9669E #E7F966 #66F9C2
square
#7866F9 #F9669E #E7F966 #66F9C2
split-complementary
#7866F9 #F9C266 #9EF966
monochromatic
#2309DC #442BF7 #7866F9 #ACA1FB #E0DCFE

Accessibility & contrast

On white

4.14
#7866F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7866F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7866F9
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7866F9#FFFFFF#000000##000000
##7866F91.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#4389A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7866f9;
/* rgb */ color: rgb(120, 102, 249);
/* oklch */ color: oklch(60.7% 0.211 283.7);
Tailwind
colors: {
  custom: {
    50: '#a892fc',
    500: '#7866f9',
    950: '#000000',
  },
}
SCSS
$custom: #7866f9;
$custom-light: #a892fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7866f9",
  "rgb": {
    "r": 120,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 247.347,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.60665,
    "c": 0.21075,
    "h": 283.7
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

primary
#7866F9
secondary
#EEF3C8
accent
#E600C9
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7866F9

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

Preview Lab → · Contrast checker → · Palette generator →

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