#7865F8#7865F8

#7865F8 is a mid, highly saturated blue. Relative luminance 0.201; OKLCH L 60.4% C 0.211 H 284.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7865F8
RGBrgb(120, 101, 248)
HSLhsl(248, 91%, 68%)
HSVhsv(248, 59%, 97%)
CMYKcmyk(51.6%, 59.3%, 0%, 2.7%)
CIE-LABlab(51.92, 45.14, -71.36)
CIE-LCHlch(51.92, 84.44, 302.31°)
OKLaboklab(60.43% 0.051 -0.2045)
OKLCHoklch(60.43% 0.211 284)
XYZxyz(29.3376, 20.0761, 91.1179)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7865F8 #E5F865
analogous
#659BF8 #7865F8 #C165F8
triadic
#7865F8 #F87865 #65F878
tetradic
#7865F8 #F8659B #E5F865 #65F8C1
square
#7865F8 #F8659B #E5F865 #65F8C1
split-complementary
#7865F8 #F8C165 #9BF865
monochromatic
#250AD9 #452AF5 #7865F8 #ABA0FB #DFDAFD

Accessibility & contrast

On white

4.19
#7865F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7865F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7865F8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7865F8#FFFFFF#000000##000000
##7865F81.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FD
Deuteranopia (green-blind)
#0077F5
Tritanopia (blue-blind)
#4488A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7865f8;
/* rgb */ color: rgb(120, 101, 248);
/* oklch */ color: oklch(60.4% 0.211 284.0);
Tailwind
colors: {
  custom: {
    50: '#a892fb',
    500: '#7865f8',
    950: '#000000',
  },
}
SCSS
$custom: #7865f8;
$custom-light: #a892fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7865f8",
  "rgb": {
    "r": 120,
    "g": 101,
    "b": 248
  },
  "hsl": {
    "h": 247.755,
    "s": 91.304,
    "l": 68.431
  },
  "oklch": {
    "l": 0.60431,
    "c": 0.21076,
    "h": 284
  },
  "luminance": 0.20078
}

Semantic roles & 50–950 ramp

primary
#7865F8
secondary
#EDF3C6
accent
#E600C8
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #7865F8

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

Preview Lab → · Contrast checker → · Palette generator →

#7865F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva